コード例 #1
0
ファイル: OtherIdList.cs プロジェクト: rubitek/OpenADK-csharp
 ///<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: 2.0</para>
 /// </remarks>
 public void AddOtherId(OtherIdType Type, string Value)
 {
     AddChild(CommonDTD.OTHERIDLIST_OTHERID, new OtherId(Type, Value));
 }
コード例 #2
0
ファイル: OtherId.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <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;
 }
コード例 #3
0
ファイル: OtherId.cs プロジェクト: rubitek/OpenADK-csharp
 /// <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;
 }
コード例 #4
0
ファイル: OtherId.cs プロジェクト: pgodwin/OpenADK-csharp
 /// <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: 2.0</para>
 /// </remarks>
 public void SetType( OtherIdType val )
 {
     SetField( CommonDTD.OTHERID_TYPE, val );
 }
コード例 #5
0
ファイル: OtherId.cs プロジェクト: rubitek/OpenADK-csharp
 /// <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: 2.0</para>
 /// </remarks>
 public void SetType(OtherIdType val)
 {
     SetField(CommonDTD.OTHERID_TYPE, val);
 }