/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A ConditionType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetType( ConditionType val ) { SetField( InfraDTD.SIF_CONDITIONS_TYPE, val ); }
///<summary>Sets the value of the <c><SIF_ConditionGroup></c> element.</summary> /// <param name="Type"> /// The Boolean operator for joining conditions (SIF_Conditions elements) within this element. Note that None should be used if there is only one /// SIF_Conditions element. /// </param> /// <param name="SifConditions">A SIF_Conditions</param> ///<remarks> /// <para>This form of <c>setSIF_ConditionGroup</c> is provided as a convenience method /// that is functionally equivalent to the <c>SIF_ConditionGroup</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetSIF_ConditionGroup( ConditionType Type, SIF_Conditions SifConditions ) { RemoveChild( InfraDTD.SIF_WHERE_SIF_CONDITIONGROUP); AddChild( InfraDTD.SIF_WHERE_SIF_CONDITIONGROUP, new SIF_ConditionGroup( Type, SifConditions ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">A Type</param> /// public SIF_Conditions( ConditionType type ) : base( InfraDTD.SIF_CONDITIONS ) { this.SetType( type ); }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A ConditionType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: " /// The Boolean operator for joining conditions (SIF_Conditions elements) within this element. Note that None should be used if there is only one /// SIF_Conditions element. /// "</para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetType( ConditionType val ) { SetField( InfraDTD.SIF_CONDITIONGROUP_TYPE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type"> /// The Boolean operator for joining conditions (SIF_Conditions elements) within this element. Note that None should be used if there is only one /// SIF_Conditions element. /// </param> ///<param name="sifConditions">A SIF_Conditions</param> /// public SIF_ConditionGroup( ConditionType type, SIF_Conditions sifConditions ) : base(InfraDTD.SIF_CONDITIONGROUP) { this.SetType( type ); this.AddSIF_Conditions( sifConditions ); }
/// <summary> /// Gets a <see cref="SIF_Conditions"/> 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 SIF_Conditions object to return by its "Type" attribute value</param> /// <returns>A SIF_Conditions object</returns> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public SIF_Conditions GetSIF_Conditions( ConditionType Type ) { return (SIF_Conditions)GetChild( InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new string[] { Type.ToString() } ); }
/// <summary> /// Removes a <see cref="SIF_Conditions"/> 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 SIF_Conditions object to remove by its Type value</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void RemoveSIF_Conditions( ConditionType Type ) { RemoveChild( InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new String[] { Type.ToString() } ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type"> /// The Boolean operator for joining conditions (SIF_Conditions elements) within this element. Note that None should be used if there is only one /// SIF_Conditions element. /// </param> ///<param name="sifConditions">A SIF_Conditions</param> /// public SIF_ConditionGroup(ConditionType type, SIF_Conditions sifConditions) : base(InfraDTD.SIF_CONDITIONGROUP) { this.SetType(type); this.AddSIF_Conditions(sifConditions); }
///<summary>Adds the value of the <c><SIF_Conditions></c> element.</summary> /// <param name="Type">A Type</param> ///<remarks> /// <para>This form of <c>setSIF_Conditions</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_Conditions</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddSIF_Conditions( ConditionType Type ) { AddChild( InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new SIF_Conditions( Type ) ); }
/// <summary> /// Gets a <see cref="SIF_Conditions"/> 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 SIF_Conditions object to return by its "Type" attribute value</param> /// <returns>A SIF_Conditions object</returns> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public SIF_Conditions GetSIF_Conditions(ConditionType Type) { return((SIF_Conditions)GetChild(InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new string[] { Type.ToString() })); }
/// <summary> /// Removes a <see cref="SIF_Conditions"/> 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 SIF_Conditions object to remove by its Type value</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void RemoveSIF_Conditions(ConditionType Type) { RemoveChild(InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new String[] { Type.ToString() }); }
///<summary>Adds the value of the <c><SIF_Conditions></c> element.</summary> /// <param name="Type">A Type</param> ///<remarks> /// <para>This form of <c>setSIF_Conditions</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddSIF_Conditions</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddSIF_Conditions(ConditionType Type) { AddChild(InfraDTD.SIF_CONDITIONGROUP_SIF_CONDITIONS, new SIF_Conditions(Type)); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">A Type</param> /// public SIF_Conditions( ConditionType type ) : base(InfraDTD.SIF_CONDITIONS) { this.SetType( type ); }
///<summary>Sets the value of the <c><SIF_ConditionGroup></c> element.</summary> /// <param name="Type"> /// The Boolean operator for joining conditions (SIF_Conditions elements) within this element. Note that None should be used if there is only one /// SIF_Conditions element. /// </param> /// <param name="SifConditions">A SIF_Conditions</param> ///<remarks> /// <para>This form of <c>setSIF_ConditionGroup</c> is provided as a convenience method /// that is functionally equivalent to the <c>SIF_ConditionGroup</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetSIF_ConditionGroup(ConditionType Type, SIF_Conditions SifConditions) { RemoveChild(InfraDTD.SIF_WHERE_SIF_CONDITIONGROUP); AddChild(InfraDTD.SIF_WHERE_SIF_CONDITIONGROUP, new SIF_ConditionGroup(Type, SifConditions)); }