public void SDOParse()
        {
            ReportAuthorityInfo info = new ReportAuthorityInfo();
            info.AuthorityName = "XX State Department of Education";
            info.AuthorityId = "StateDOEDataWarehouse";
            info.AuthorityDepartment = "Bureau of Special Education";
            info.SetAuthorityLevel(AuthorityLevel.STATE);

            ContactInfo contact = new ContactInfo();
            contact.SetName(NameType.NAME_OF_RECORD, "Theodore", "Geisel");
            contact.PositionTitle = "State Superintendent";
            contact.EmailList = new EmailList(new Email(EmailType.PRIMARY, "*****@*****.**"));
            contact.PhoneNumberList =
                new PhoneNumberList(new PhoneNumber(PhoneNumberType.SIF1x_WORK_PHONE, "(555) 555-0000"));

            info.ContactInfo = contact;

            AdkObjectParseHelper.runParsingTest(info, SifVersion.LATEST );
        }
Пример #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="contactInfo">For a description of this element, see 5.1.3 ContactInfo.</param>
 ///
 public SchoolContact( ContactInfo contactInfo )
     : base(CommonDTD.SCHOOLCONTACT)
 {
     this.ContactInfo = contactInfo;
 }
Пример #3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="contactInfo">For a description of this element, see 5.1.3 ContactInfo.</param>
 ///
 public SchoolContact(ContactInfo contactInfo) : base(CommonDTD.SCHOOLCONTACT)
 {
     this.ContactInfo = contactInfo;
 }
Пример #4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="contactInfo">For a description of this element, see 5.1.3 ContactInfo.</param>
 ///
 public LEAContact( ContactInfo contactInfo )
     : base(StudentDTD.LEACONTACT)
 {
     this.ContactInfo = contactInfo;
 }
Пример #5
0
 ///<summary>Adds the value of the <c>&lt;SchoolContact&gt;</c> element.</summary>
 /// <param name="ContactInfo">For a description of this element, see 5.1.3 ContactInfo.</param>
 ///<remarks>
 /// <para>This form of <c>setSchoolContact</c> is provided as a convenience method
 /// that is functionally equivalent to the method <c>AddSchoolContact</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void AddSchoolContact(ContactInfo ContactInfo)
 {
     AddChild(CommonDTD.SCHOOLCONTACTLIST_SCHOOLCONTACT, new SchoolContact(ContactInfo));
 }