Example #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">A unique local identifier for this junction</param>
 ///<param name="label">A Label</param>
 ///<param name="shortLabel">A ShortLabel</param>
 ///<param name="inputList">An InputList</param>
 ///<param name="outputList">An OutputList</param>
 ///
 public Junction( string refId, string label, string shortLabel, Input inputList, Output outputList )
     : base(Adk.SifVersion, LearningDTD.JUNCTION)
 {
     this.RefId = refId;
     this.Label = label;
     this.ShortLabel = shortLabel;
     this.InputList =  new InputList( inputList );
     this.OutputList =  new OutputList( outputList );
 }
Example #2
0
 ///<summary>Sets the value of the <c>&lt;InputList&gt;</c> element.</summary>
 /// <param name="Input">An Input</param>
 ///<remarks>
 /// <para>This form of <c>setInputList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>InputList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetInputList( Input Input )
 {
     RemoveChild( LearningDTD.JUNCTION_INPUTLIST);
     AddChild( LearningDTD.JUNCTION_INPUTLIST, new InputList( Input ) );
 }