Esempio n. 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="startDate">The date on which the action begins.</param>
 ///<param name="endDate">The date through which the action is in effect, inclusive.</param>
 ///<param name="duration">Identifies the length, in school days, of the action. Note: decimal places may be used for fractions of school days.</param>
 ///<param name="zeroTolerance">Identifies whether or not this action was imposed as a consequence of state or local zero tolerance policies.</param>
 ///<param name="policeNotification">Identifies whether there was notification of local law enforcement, regardless of whether official action was taken.</param>
 ///<param name="arrest">Identifies whether there were any arrests.</param>
 ///
 public IncidentAction( DateTime? startDate, DateTime? endDate, decimal? duration, YesNo zeroTolerance, YesNo policeNotification, IncidentActionArrestType arrest )
     : base(StudentDTD.INCIDENTACTION)
 {
     this.StartDate = startDate;
     this.EndDate = endDate;
     this.Duration = duration;
     this.SetZeroTolerance( zeroTolerance );
     this.SetPoliceNotification( policeNotification );
     this.SetArrest( arrest );
 }
 ///<summary>Adds the value of the <c>&lt;IncidentAction&gt;</c> element.</summary>
 /// <param name="StartDate">The date on which the action begins.</param>
 /// <param name="EndDate">The date through which the action is in effect, inclusive.</param>
 /// <param name="Duration">Identifies the length, in school days, of the action. Note: decimal places may be used for fractions of school days.</param>
 /// <param name="ZeroTolerance">Identifies whether or not this action was imposed as a consequence of state or local zero tolerance policies.</param>
 /// <param name="PoliceNotification">Identifies whether there was notification of local law enforcement, regardless of whether official action was taken.</param>
 /// <param name="Arrest">Identifies whether there were any arrests.</param>
 ///<remarks>
 /// <para>This form of <c>setIncidentAction</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddIncidentAction</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void AddIncidentAction(DateTime?StartDate, DateTime?EndDate, decimal?Duration, YesNo ZeroTolerance, YesNo PoliceNotification, IncidentActionArrestType Arrest)
 {
     AddChild(StudentDTD.INCIDENTACTIONLIST_INCIDENTACTION, new IncidentAction(StartDate, EndDate, Duration, ZeroTolerance, PoliceNotification, Arrest));
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="startDate">The date on which the action begins.</param>
 ///<param name="endDate">The date through which the action is in effect, inclusive.</param>
 ///<param name="duration">Identifies the length, in school days, of the action. Note: decimal places may be used for fractions of school days.</param>
 ///<param name="zeroTolerance">Identifies whether or not this action was imposed as a consequence of state or local zero tolerance policies.</param>
 ///<param name="policeNotification">Identifies whether there was notification of local law enforcement, regardless of whether official action was taken.</param>
 ///<param name="arrest">Identifies whether there were any arrests.</param>
 ///
 public IncidentAction(DateTime?startDate, DateTime?endDate, decimal?duration, YesNo zeroTolerance, YesNo policeNotification, IncidentActionArrestType arrest) : base(StudentDTD.INCIDENTACTION)
 {
     this.StartDate = startDate;
     this.EndDate   = endDate;
     this.Duration  = duration;
     this.SetZeroTolerance(zeroTolerance);
     this.SetPoliceNotification(policeNotification);
     this.SetArrest(arrest);
 }
Esempio n. 4
0
 /// <summary>
 /// Sets the value of the <c>&lt;Arrest&gt;</c> element.
 /// </summary>
 /// <param name="val">A IncidentActionArrestType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Identifies whether there were any arrests."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetArrest( IncidentActionArrestType val )
 {
     SetField( StudentDTD.INCIDENTACTION_ARREST, val );
 }
Esempio n. 5
0
 /// <summary>
 /// Sets the value of the <c>&lt;Arrest&gt;</c> element.
 /// </summary>
 /// <param name="val">A IncidentActionArrestType object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Identifies whether there were any arrests."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetArrest(IncidentActionArrestType val)
 {
     SetField(StudentDTD.INCIDENTACTION_ARREST, val);
 }