Beispiel #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 );
 }
Beispiel #2
0
 ///<summary>Sets the value of the <c>&lt;OutputList&gt;</c> element.</summary>
 /// <param name="Output">An Output</param>
 ///<remarks>
 /// <para>This form of <c>setOutputList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>OutputList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetOutputList( Output Output )
 {
     RemoveChild( LearningDTD.JUNCTION_OUTPUTLIST);
     AddChild( LearningDTD.JUNCTION_OUTPUTLIST, new OutputList( Output ) );
 }