예제 #1
0
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A GradeLevelCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the grade level."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode( GradeLevelCode val )
 {
     SetField( CommonDTD.GRADELEVEL_CODE, val );
 }
예제 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the grade level.</param>
 ///
 public GradeLevel( GradeLevelCode code )
     : base(CommonDTD.GRADELEVEL)
 {
     this.SetCode( code );
 }
예제 #3
0
 ///<summary>Adds the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddGradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void AddGradeLevel(GradeLevelCode Code)
 {
     AddChild(CommonDTD.GRADELEVELS_GRADELEVEL, new GradeLevel(Code));
 }
예제 #4
0
 ///<summary>Sets the value of the <c>&lt;StudentGradeLevelWhenAssessed&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setStudentGradeLevelWhenAssessed</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>StudentGradeLevelWhenAssessed</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetStudentGradeLevelWhenAssessed( GradeLevelCode Code )
 {
     RemoveChild( EtranscriptsDTD.ASSESSMENTHISTORY_STUDENTGRADELEVELWHENASSESSED);
     AddChild( EtranscriptsDTD.ASSESSMENTHISTORY_STUDENTGRADELEVELWHENASSESSED, new GradeLevel( Code ) );
 }
 ///<summary>Sets the value of the <c>&lt;StudentGradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setStudentGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>StudentGradeLevel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetStudentGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( AssessmentDTD.ASSESSMENTREGISTRATION_STUDENTGRADELEVEL);
     AddChild( AssessmentDTD.ASSESSMENTREGISTRATION_STUDENTGRADELEVEL, new GradeLevel( Code ) );
 }
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( StudentDTD.STUDENTSCHOOLENROLLMENT_GRADELEVEL);
     AddChild( StudentDTD.STUDENTSCHOOLENROLLMENT_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #7
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( ProgramsDTD.TESTACCOMMODATION_GRADELEVEL);
     AddChild( ProgramsDTD.TESTACCOMMODATION_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #8
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( ReportingDTD.STUDENTLOCATOR_GRADELEVEL);
     AddChild( ReportingDTD.STUDENTLOCATOR_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #9
0
 /// <summary>
 /// Sets the value of the <c>Code</c> attribute.
 /// </summary>
 /// <param name="val">A GradeLevelCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "Code representing the grade level."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.1</para>
 /// </remarks>
 public void SetCode(GradeLevelCode val)
 {
     SetField(CommonDTD.GRADELEVEL_CODE, val);
 }
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( CommonDTD.STUDENTLEARELATIONSHIP_GRADELEVEL);
     AddChild( CommonDTD.STUDENTLEARELATIONSHIP_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #11
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the grade level.</param>
 ///
 public GradeLevel(GradeLevelCode code) : base(CommonDTD.GRADELEVEL)
 {
     this.SetCode(code);
 }
        private static StudentPersonal CreateStudent(
          String id,
          String lastName,
            String firstName,
            String street,
            String city,
            StatePrCode state,
            CountryCode country,
            String post,
            String phone,
            Gender gender,
            GradeLevelCode grade,
            RaceType race,
            String birthDateyyyyMMdd)
        {
            StudentPersonal student = new StudentPersonal();
             ;
             student.RefId = Adk.MakeGuid();
             student.LocalId = id;

             // Set the Name
             Name name = new Name(NameType.LEGAL, firstName, lastName);
             student.Name = name;

             Address addr = new Address();
             addr.SetType(AddressType.C0369_PERMANENT);
             addr.SetStreet(street);
             addr.City = city;
             addr.SetStateProvince(state);
             addr.PostalCode = post;
             addr.SetCountry(country);

             student.AddressList = new StudentAddressList(PickupOrDropoff.NA, "NA", addr);
             student.PhoneNumberList =
             new PhoneNumberList(new PhoneNumber(PhoneNumberType.PRIMARY, phone));

             Demographics dem = new Demographics();
             dem.RaceList = new RaceList(new Race("", race));
             dem.SetGender(gender);
             dem.BirthDate =
             DateTime.ParseExact
                 (birthDateyyyyMMdd, "yyyyMMdd", CultureInfo.InvariantCulture.DateTimeFormat);

             student.Demographics = dem;

             return student;
        }
예제 #13
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetGradeLevel(GradeLevelCode Code)
 {
     RemoveChild(CommonDTD.STUDENTPARAMETERS_GRADELEVEL);
     AddChild(CommonDTD.STUDENTPARAMETERS_GRADELEVEL, new GradeLevel(Code));
 }
예제 #14
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A GradeLevelCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the grade level."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.1</para>
 /// </remarks>
 public void SetCode( GradeLevelCode val )
 {
     SetField( DatamodelDTD.INTERESTLEVEL_CODE, val );
 }
예제 #15
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetGradeLevel(GradeLevelCode Code)
 {
     RemoveChild(CommonDTD.STUDENTLEARELATIONSHIP_GRADELEVEL);
     AddChild(CommonDTD.STUDENTLEARELATIONSHIP_GRADELEVEL, new GradeLevel(Code));
 }
예제 #16
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="code">Code representing the grade level.</param>
 ///
 public InterestLevel( GradeLevelCode code )
     : base(DatamodelDTD.INTERESTLEVEL)
 {
     this.SetCode( code );
 }
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( EtranscriptsDTD.STUDENTSCHOOLENROLLMENTHISTORY_GRADELEVEL);
     AddChild( EtranscriptsDTD.STUDENTSCHOOLENROLLMENTHISTORY_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #18
0
 /// <summary>
 /// Sets the value of the <c>&lt;Code&gt;</c> element.
 /// </summary>
 /// <param name="val">A GradeLevelCode object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Code representing the grade level."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetCode( GradeLevelCode val )
 {
     SetField( AssessmentDTD.STUDENTGRADELEVEL_CODE, val );
 }
예제 #19
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( CommonDTD.STUDENTPARAMETERS_GRADELEVEL);
     AddChild( CommonDTD.STUDENTPARAMETERS_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #20
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.2</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( InstrDTD.STANDARDIDENTIFIER_GRADELEVEL);
     AddChild( InstrDTD.STANDARDIDENTIFIER_GRADELEVEL, new GradeLevel( Code ) );
 }
예제 #21
0
 ///<summary>Sets the value of the <c>&lt;GradeLevelWhenTaken&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevelWhenTaken</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevelWhenTaken</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetGradeLevelWhenTaken( GradeLevelCode Code )
 {
     RemoveChild( EtranscriptsDTD.MARKINGPERIOD_GRADELEVELWHENTAKEN);
     AddChild( EtranscriptsDTD.MARKINGPERIOD_GRADELEVELWHENTAKEN, new GradeLevel( Code ) );
 }
예제 #22
0
 ///<summary>Sets the value of the <c>&lt;GradeLevelWhenTaken&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevelWhenTaken</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevelWhenTaken</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetGradeLevelWhenTaken( GradeLevelCode Code )
 {
     RemoveChild( EtranscriptsDTD.TERMPERFORMANCE_GRADELEVELWHENTAKEN);
     AddChild( EtranscriptsDTD.TERMPERFORMANCE_GRADELEVELWHENTAKEN, new GradeLevel( Code ) );
 }
예제 #23
0
 ///<summary>Sets the value of the <c>&lt;GradeLevel&gt;</c> element.</summary>
 /// <param name="Code">Code representing the grade level.</param>
 ///<remarks>
 /// <para>This form of <c>setGradeLevel</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>GradeLevel</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetGradeLevel( GradeLevelCode Code )
 {
     RemoveChild( StudentDTD.MOSTRECENT_GRADELEVEL);
     AddChild( StudentDTD.MOSTRECENT_GRADELEVEL, new GradeLevel( Code ) );
 }