Exemplo n.º 1
0
	/// <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 );
	}
Exemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;SIF_ConditionGroup&gt;</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 ) );
 }
Exemplo n.º 3
0
	/// <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 );
	}
Exemplo n.º 4
0
 /// <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 );
 }
Exemplo n.º 5
0
 /// <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 );
 }
Exemplo n.º 6
0
 /// <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() } );
 }
Exemplo n.º 7
0
 /// <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() } );
 }
Exemplo n.º 8
0
 /// <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);
 }
Exemplo n.º 9
0
 ///<summary>Adds the value of the <c>&lt;SIF_Conditions&gt;</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 ) );
 }
Exemplo n.º 10
0
 /// <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() }));
 }
Exemplo n.º 11
0
 /// <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() });
 }
Exemplo n.º 12
0
 ///<summary>Adds the value of the <c>&lt;SIF_Conditions&gt;</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));
 }
Exemplo n.º 13
0
 /// <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 );
 }
Exemplo n.º 14
0
 ///<summary>Sets the value of the <c>&lt;SIF_ConditionGroup&gt;</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));
 }