///<summary>Sets the value of the <c><IncidentReporter></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)); }
/// <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 ); }
/// <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 ); }
/// <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 ); }
/// <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 ); }
///<summary>Sets the value of the <c><IncidentReporter></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 ) ); }
///<summary>Adds the value of the <c><Victim></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)); }
/// <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); }
///<summary>Adds the value of the <c><Offender></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)); }
/// <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); }
/// <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); }
/// <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); }
/// <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 ); }
/// <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 ); }
/// <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); }
/// <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); }