/// <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 ); }
/// <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 ); }
///<summary>Adds the value of the <c><GradeLevel></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)); }
///<summary>Sets the value of the <c><StudentGradeLevelWhenAssessed></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><StudentGradeLevel></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><GradeLevel></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 ) ); }
///<summary>Sets the value of the <c><GradeLevel></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 ) ); }
///<summary>Sets the value of the <c><GradeLevel></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 ) ); }
/// <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><GradeLevel></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 ) ); }
/// <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; }
///<summary>Sets the value of the <c><GradeLevel></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)); }
/// <summary> /// Sets the value of the <c><Code></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 ); }
///<summary>Sets the value of the <c><GradeLevel></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)); }
/// <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><GradeLevel></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 ) ); }
/// <summary> /// Sets the value of the <c><Code></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 ); }
///<summary>Sets the value of the <c><GradeLevel></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 ) ); }
///<summary>Sets the value of the <c><GradeLevel></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 ) ); }
///<summary>Sets the value of the <c><GradeLevelWhenTaken></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 ) ); }
///<summary>Sets the value of the <c><GradeLevelWhenTaken></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 ) ); }
///<summary>Sets the value of the <c><GradeLevel></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 ) ); }