Example #1
0
 ///<summary>Sets the value of the <c>&lt;OtherId&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;OtherId&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setOtherId</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>OtherId</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetOtherId( OtherIdType Type, string Value )
 {
     RemoveChild( ReportingDTD.SLCONTACT_OTHERID);
     AddChild( ReportingDTD.SLCONTACT_OTHERID, new OtherId( Type, Value ) );
 }
Example #2
0
 ///<summary>Sets the value of the <c>&lt;OtherId&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;OtherId&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setOtherId</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>OtherId</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetOtherId( OtherIdType Type, string Value )
 {
     RemoveChild( ReportingDTD.STUDENTLOCATOR_OTHERID);
     AddChild( ReportingDTD.STUDENTLOCATOR_OTHERID, new OtherId( Type, Value ) );
 }
Example #3
0
 ///<summary>Adds the value of the <c>&lt;OtherId&gt;</c> element.</summary>
 /// <param name="Type">Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;OtherId&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setOtherId</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddOtherId</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void AddOtherId(OtherIdType Type, string Value)
 {
     AddChild(CommonDTD.OTHERIDLIST_OTHERID, new OtherId(Type, Value));
 }
Example #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;OtherId&amp;gt; element</param>
 ///
 public OtherId( OtherIdType type, string value )
     : base(CommonDTD.OTHERID)
 {
     this.SetType( type );
     this.Value = value;
 }
Example #5
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A OtherIdType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetType( OtherIdType val )
 {
     SetField( CommonDTD.OTHERID_TYPE, val );
 }
Example #6
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;OtherId&amp;gt; element</param>
 ///
 public OtherId(OtherIdType type, string value) : base(CommonDTD.OTHERID)
 {
     this.SetType(type);
     this.Value = value;
 }
Example #7
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A OtherIdType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code that defines the type of this other ID.  Note: A subset of valid values may be specified in data objects."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetType(OtherIdType val)
 {
     SetField(CommonDTD.OTHERID_TYPE, val);
 }