///<summary>Sets the value of the <c><IncidentTime></c> element.</summary> /// <param name="Type">Identifies whether or not the incident occurred during school hours. </param> /// <param name="Value">Gets or sets the content value of the &lt;IncidentTime&gt; element</param> ///<remarks> /// <para>This form of <c>setIncidentTime</c> is provided as a convenience method /// that is functionally equivalent to the <c>IncidentTime</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetIncidentTime(SafetyTimeType Type, string Value) { RemoveChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTTIME); AddChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTTIME, new IncidentTime(Type, Value)); }
///<summary>Sets the value of the <c><IncidentTime></c> element.</summary> /// <param name="Type">Identifies whether or not the incident occurred during school hours. </param> /// <param name="Value">Gets or sets the content value of the &lt;IncidentTime&gt; element</param> ///<remarks> /// <para>This form of <c>setIncidentTime</c> is provided as a convenience method /// that is functionally equivalent to the <c>IncidentTime</c></para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetIncidentTime( SafetyTimeType Type, string Value ) { RemoveChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTTIME); AddChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTTIME, new IncidentTime( Type, Value ) ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Identifies whether or not the incident occurred during school hours. </param> ///<param name="value">Gets or sets the content value of the &lt;IncidentTime&gt; element</param> /// public IncidentTime( SafetyTimeType type, string value ) : base(StudentDTD.INCIDENTTIME) { this.SetType( type ); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A SafetyTimeType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Identifies whether or not the incident occurred during school hours. "</para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType( SafetyTimeType val ) { SetField( StudentDTD.INCIDENTTIME_TYPE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="type">Identifies whether or not the incident occurred during school hours. </param> ///<param name="value">Gets or sets the content value of the &lt;IncidentTime&gt; element</param> /// public IncidentTime(SafetyTimeType type, string value) : base(StudentDTD.INCIDENTTIME) { this.SetType(type); this.Value = value; }
/// <summary> /// Sets the value of the <c>Type</c> attribute. /// </summary> /// <param name="val">A SafetyTimeType object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "Identifies whether or not the incident occurred during school hours. "</para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetType(SafetyTimeType val) { SetField(StudentDTD.INCIDENTTIME_TYPE, val); }