/// <summary> /// Removes a <see cref="RequestingAgencyId"/> object instance. More than one instance can be defined for this object because it is a repeatable field element. /// </summary> /// <param name="Type">Identifies the RequestingAgencyId object to remove by its Type value</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void RemoveRequestingAgencyId( RequestingAgencyIdType Type ) { RemoveChild( ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new String[] { Type.ToString() } ); }
///<summary>Adds the value of the <c><RequestingAgencyId></c> element.</summary> /// <param name="Type">The functional level of the requesting agency.</param> /// <param name="Value">Gets or sets the content value of the &lt;RequestingAgencyId&gt; element</param> ///<remarks> /// <para>This form of <c>setRequestingAgencyId</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddRequestingAgencyId</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void AddRequestingAgencyId( RequestingAgencyIdType Type, string Value ) { AddChild( ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new RequestingAgencyId( Type, Value ) ); }
/// <summary> /// Gets a <see cref="RequestingAgencyId"/> object instance. More than one instance can be defined for this object because it is a repeatable field element. /// </summary> /// <param name="Type">Identifies the RequestingAgencyId object to return by its "Type" attribute value</param> /// <returns>A RequestingAgencyId object</returns> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public RequestingAgencyId GetRequestingAgencyId( RequestingAgencyIdType Type ) { return (RequestingAgencyId)GetChild( ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new string[] { Type.ToString() } ); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A RequestingAgencyIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The functional level of the requesting agency."</para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetType(RequestingAgencyIdType val) { SetField(ReportingDTD.REQUESTINGAGENCYID_TYPE, val); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The functional level of the requesting agency.</param> ///<param name="value">Gets or sets the content value of the &lt;RequestingAgencyId&gt; element</param> /// public RequestingAgencyId(RequestingAgencyIdType type, string value) : base(ReportingDTD.REQUESTINGAGENCYID) { this.SetType(type); this.Value = value; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">The functional level of the requesting agency.</param> ///<param name="value">Gets or sets the content value of the &lt;RequestingAgencyId&gt; element</param> /// public RequestingAgencyId( RequestingAgencyIdType type, string value ) : base(ReportingDTD.REQUESTINGAGENCYID) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A RequestingAgencyIdType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The functional level of the requesting agency."</para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetType( RequestingAgencyIdType val ) { SetField( ReportingDTD.REQUESTINGAGENCYID_TYPE, val ); }
/// <summary> /// Gets a <see cref="RequestingAgencyId"/> object instance. More than one instance can be defined for this object because it is a repeatable field element. /// </summary> /// <param name="Type">Identifies the RequestingAgencyId object to return by its "Type" attribute value</param> /// <returns>A RequestingAgencyId object</returns> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public RequestingAgencyId GetRequestingAgencyId(RequestingAgencyIdType Type) { return((RequestingAgencyId)GetChild(ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new string[] { Type.ToString() })); }
/// <summary> /// Removes a <see cref="RequestingAgencyId"/> object instance. More than one instance can be defined for this object because it is a repeatable field element. /// </summary> /// <param name="Type">Identifies the RequestingAgencyId object to remove by its Type value</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void RemoveRequestingAgencyId(RequestingAgencyIdType Type) { RemoveChild(ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new String[] { Type.ToString() }); }
///<summary>Adds the value of the <c><RequestingAgencyId></c> element.</summary> /// <param name="Type">The functional level of the requesting agency.</param> /// <param name="Value">Gets or sets the content value of the &lt;RequestingAgencyId&gt; element</param> ///<remarks> /// <para>This form of <c>setRequestingAgencyId</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddRequestingAgencyId</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void AddRequestingAgencyId(RequestingAgencyIdType Type, string Value) { AddChild(ReportingDTD.STUDENTLOCATOR_REQUESTINGAGENCYID, new RequestingAgencyId(Type, Value)); }