Esempio n. 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">A Code</param>
 ///<param name="startDate">The date on which the disciplinary action begins.</param>
 ///<param name="endDate">The date through which the disciplinary action is in effect, inclusive.</param>
 ///<param name="duration">Identifies the length, in school days, of the disciplinary action.  Note: decimal places may be used for fractions of school days.</param>
 ///<param name="zeroTolerance">Identifies whether or not this action taken against a student was imposed as a consequence of state or local zero tolerance policies.</param>
 ///<param name="fullYearExpulsion">Identifies whether or not the action involved an expulsion with or without services for a period of one full year (i.e., 365 days).</param>
 ///<param name="shortenedExpulsion">Identifies whether or not the action involved an expulsion with or without services that is shortened to a term of less than one year by the superintendent or chief administrator of a school district.</param>
 ///<param name="policeNotification">Identifies whether or not the offender's action included notification of local law enforcement, regardless of whether official action was taken.</param>
 ///<param name="arrest">Identifies whether or not the offender was arrested.</param>
 ///<param name="alternativeEducation">Identifies whether or not the offender was assigned to an Alternative Education facility.</param>
 ///
 public Action( string code, DateTime? startDate, DateTime? endDate, decimal? duration, YesNo zeroTolerance, YesNo fullYearExpulsion, YesNo shortenedExpulsion, YesNo policeNotification, ArrestStatus arrest, YesNo alternativeEducation )
     : base(StudentDTD.ACTION)
 {
     this.Code = code;
     this.StartDate = startDate;
     this.EndDate = endDate;
     this.Duration = duration;
     this.SetZeroTolerance( zeroTolerance );
     this.SetFullYearExpulsion( fullYearExpulsion );
     this.SetShortenedExpulsion( shortenedExpulsion );
     this.SetPoliceNotification( policeNotification );
     this.SetArrest( arrest );
     this.SetAlternativeEducation( alternativeEducation );
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the value of the <c>&lt;Arrest&gt;</c> element.
 /// </summary>
 /// <param name="val">A ArrestStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Identifies whether or not the offender was arrested."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetArrest( ArrestStatus val )
 {
     SetField( StudentDTD.ACTION_ARREST, val );
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Arrest&gt;</c> element.
 /// </summary>
 /// <param name="val">A ArrestStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Identifies whether or not the offender was arrested."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetArrest(ArrestStatus val)
 {
     SetField(StudentDTD.ACTION_ARREST, val);
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">A Code</param>
 ///<param name="startDate">The date on which the disciplinary action begins.</param>
 ///<param name="endDate">The date through which the disciplinary action is in effect, inclusive.</param>
 ///<param name="duration">Identifies the length, in school days, of the disciplinary action.  Note: decimal places may be used for fractions of school days.</param>
 ///<param name="zeroTolerance">Identifies whether or not this action taken against a student was imposed as a consequence of state or local zero tolerance policies.</param>
 ///<param name="fullYearExpulsion">Identifies whether or not the action involved an expulsion with or without services for a period of one full year (i.e., 365 days).</param>
 ///<param name="shortenedExpulsion">Identifies whether or not the action involved an expulsion with or without services that is shortened to a term of less than one year by the superintendent or chief administrator of a school district.</param>
 ///<param name="policeNotification">Identifies whether or not the offender's action included notification of local law enforcement, regardless of whether official action was taken.</param>
 ///<param name="arrest">Identifies whether or not the offender was arrested.</param>
 ///<param name="alternativeEducation">Identifies whether or not the offender was assigned to an Alternative Education facility.</param>
 ///
 public Action(string code, DateTime?startDate, DateTime?endDate, decimal?duration, YesNo zeroTolerance, YesNo fullYearExpulsion, YesNo shortenedExpulsion, YesNo policeNotification, ArrestStatus arrest, YesNo alternativeEducation) : base(StudentDTD.ACTION)
 {
     this.Code      = code;
     this.StartDate = startDate;
     this.EndDate   = endDate;
     this.Duration  = duration;
     this.SetZeroTolerance(zeroTolerance);
     this.SetFullYearExpulsion(fullYearExpulsion);
     this.SetShortenedExpulsion(shortenedExpulsion);
     this.SetPoliceNotification(policeNotification);
     this.SetArrest(arrest);
     this.SetAlternativeEducation(alternativeEducation);
 }
Esempio n. 5
0
 ///<summary>Adds the value of the <c>&lt;Action&gt;</c> element.</summary>
 /// <param name="Code">A Code</param>
 /// <param name="StartDate">The date on which the disciplinary action begins.</param>
 /// <param name="EndDate">The date through which the disciplinary action is in effect, inclusive.</param>
 /// <param name="Duration">Identifies the length, in school days, of the disciplinary action.  Note: decimal places may be used for fractions of school days.</param>
 /// <param name="ZeroTolerance">Identifies whether or not this action taken against a student was imposed as a consequence of state or local zero tolerance policies.</param>
 /// <param name="FullYearExpulsion">Identifies whether or not the action involved an expulsion with or without services for a period of one full year (i.e., 365 days).</param>
 /// <param name="ShortenedExpulsion">Identifies whether or not the action involved an expulsion with or without services that is shortened to a term of less than one year by the superintendent or chief administrator of a school district.</param>
 /// <param name="PoliceNotification">Identifies whether or not the offender's action included notification of local law enforcement, regardless of whether official action was taken.</param>
 /// <param name="Arrest">Identifies whether or not the offender was arrested.</param>
 /// <param name="AlternativeEducation">Identifies whether or not the offender was assigned to an Alternative Education facility.</param>
 ///<remarks>
 /// <para>This form of <c>setAction</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddAction</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void AddAction(string Code, DateTime?StartDate, DateTime?EndDate, decimal?Duration, YesNo ZeroTolerance, YesNo FullYearExpulsion, YesNo ShortenedExpulsion, YesNo PoliceNotification, ArrestStatus Arrest, YesNo AlternativeEducation)
 {
     AddChild(StudentDTD.ACTIONLIST_ACTION, new Action(Code, StartDate, EndDate, Duration, ZeroTolerance, FullYearExpulsion, ShortenedExpulsion, PoliceNotification, Arrest, AlternativeEducation));
 }