Esempio n. 1
0
 ///<summary>Sets the value of the <c>&lt;IncidentLocation&gt;</c> element.</summary>
 /// <param name="Type">Identifies where the incident occurred.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;IncidentLocation&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setIncidentLocation</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>IncidentLocation</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetIncidentLocation(IncidentLocationType Type, string Value)
 {
     RemoveChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTLOCATION);
     AddChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTLOCATION, new IncidentLocation(Type, Value));
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies where the incident occurred.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;IncidentLocation&amp;gt; element</param>
 ///
 public IncidentLocation( IncidentLocationType type, string value )
     : base(StudentDTD.INCIDENTLOCATION)
 {
     this.SetType( type );
     this.Value = value;
 }
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A IncidentLocationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies where the incident occurred."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( IncidentLocationType val )
 {
     SetField( StudentDTD.INCIDENTLOCATION_TYPE, val );
 }
 ///<summary>Sets the value of the <c>&lt;IncidentLocation&gt;</c> element.</summary>
 /// <param name="Type">Identifies where the incident occurred.</param>
 /// <param name="Value">Gets or sets the content value of the &amp;lt;IncidentLocation&amp;gt; element</param>
 ///<remarks>
 /// <para>This form of <c>setIncidentLocation</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>IncidentLocation</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetIncidentLocation( IncidentLocationType Type, string Value )
 {
     RemoveChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTLOCATION);
     AddChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTLOCATION, new IncidentLocation( Type, Value ) );
 }
Esempio n. 5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies where the incident occurred.</param>
 ///<param name="value">Gets or sets the content value of the &amp;lt;IncidentLocation&amp;gt; element</param>
 ///
 public IncidentLocation(IncidentLocationType type, string value) : base(StudentDTD.INCIDENTLOCATION)
 {
     this.SetType(type);
     this.Value = value;
 }
Esempio n. 6
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A IncidentLocationType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies where the incident occurred."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(IncidentLocationType val)
 {
     SetField(StudentDTD.INCIDENTLOCATION_TYPE, val);
 }