Ejemplo n.º 1
0
 ///<summary>Sets the value of the <c>&lt;IncidentReporter&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 ///<remarks>
 /// <para>This form of <c>setIncidentReporter</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>IncidentReporter</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetIncidentReporter(ReporterDescriptionType Type)
 {
     RemoveChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTREPORTER);
     AddChild(StudentDTD.DISCIPLINEINCIDENT_INCIDENTREPORTER, new IncidentReporter(Type));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( ReporterDescriptionType val )
 {
     SetField( StudentDTD.INCIDENTREPORTER_TYPE, val );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///
 public IncidentReporter( ReporterDescriptionType type )
     : base(StudentDTD.INCIDENTREPORTER)
 {
     this.SetType( type );
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of offender involved in the incident."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( ReporterDescriptionType val )
 {
     SetField( StudentDTD.OFFENDER_TYPE, val );
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies the type of offender involved in the incident.</param>
 ///<param name="injury">Identifies whether or not this specific offender was physically injured, and if so, identifies whether the injury was major or minor.</param>
 ///
 public Offender( ReporterDescriptionType type, InjuryType injury )
     : base(StudentDTD.OFFENDER)
 {
     this.SetType( type );
     this.SetInjury( injury );
 }
Ejemplo n.º 6
0
 ///<summary>Sets the value of the <c>&lt;IncidentReporter&gt;</c> element.</summary>
 /// <param name="Type">A Type</param>
 ///<remarks>
 /// <para>This form of <c>setIncidentReporter</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>IncidentReporter</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetIncidentReporter( ReporterDescriptionType Type )
 {
     RemoveChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTREPORTER);
     AddChild( StudentDTD.DISCIPLINEINCIDENT_INCIDENTREPORTER, new IncidentReporter( Type ) );
 }
Ejemplo n.º 7
0
 ///<summary>Adds the value of the <c>&lt;Victim&gt;</c> element.</summary>
 /// <param name="Type">Identifies the type of individual victimized in the incident.</param>
 ///<remarks>
 /// <para>This form of <c>setVictim</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddVictim</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddVictim(ReporterDescriptionType Type)
 {
     AddChild(StudentDTD.VICTIMLIST_VICTIM, new Victim(Type));
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of individual victimized in the incident."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(ReporterDescriptionType val)
 {
     SetField(StudentDTD.VICTIM_TYPE, val);
 }
Ejemplo n.º 9
0
 ///<summary>Adds the value of the <c>&lt;Offender&gt;</c> element.</summary>
 /// <param name="Type">Identifies the type of offender involved in the incident.</param>
 /// <param name="Injury">Identifies whether or not this specific offender was physically injured, and if so, identifies whether the injury was major or minor.</param>
 ///<remarks>
 /// <para>This form of <c>setOffender</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddOffender</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddOffender(ReporterDescriptionType Type, InjuryType Injury)
 {
     AddChild(StudentDTD.OFFENDERLIST_OFFENDER, new Offender(Type, Injury));
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of offender involved in the incident."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(ReporterDescriptionType val)
 {
     SetField(StudentDTD.OFFENDER_TYPE, val);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies the type of individual victimized in the incident.</param>
 ///
 public Victim(ReporterDescriptionType type) : base(StudentDTD.VICTIM)
 {
     this.SetType(type);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies the type of offender involved in the incident.</param>
 ///<param name="injury">Identifies whether or not this specific offender was physically injured, and if so, identifies whether the injury was major or minor.</param>
 ///
 public Offender(ReporterDescriptionType type, InjuryType injury) : base(StudentDTD.OFFENDER)
 {
     this.SetType(type);
     this.SetInjury(injury);
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">Identifies the type of individual victimized in the incident.</param>
 ///
 public Victim( ReporterDescriptionType type )
     : base(StudentDTD.VICTIM)
 {
     this.SetType( type );
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Identifies the type of individual victimized in the incident."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType( ReporterDescriptionType val )
 {
     SetField( StudentDTD.VICTIM_TYPE, val );
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Sets the value of the <c>Type</c> attribute.
 /// </summary>
 /// <param name="val">A ReporterDescriptionType object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetType(ReporterDescriptionType val)
 {
     SetField(StudentDTD.INCIDENTREPORTER_TYPE, val);
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="type">A Type</param>
 ///
 public IncidentReporter(ReporterDescriptionType type) : base(StudentDTD.INCIDENTREPORTER)
 {
     this.SetType(type);
 }