/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID assigned to assignment.</param> ///<param name="language">A Language</param> ///<param name="assignmentTime">Time structures for the assignment.</param> /// public Assignment( string refId, LanguageCode language, AssignmentTime assignmentTime ) : base(Adk.SifVersion, InstrDTD.ASSIGNMENT) { this.RefId = refId; this.SetLanguage( language ); this.AssignmentTime = assignmentTime; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A RefId</param> ///<param name="language">A Language</param> ///<param name="activityTime">Time structures for the activity.</param> /// public Activity( string refId, LanguageCode language, ActivityTime activityTime ) : base(Adk.SifVersion, InstrDTD.ACTIVITY) { this.RefId = refId; this.SetLanguage( language ); this.ActivityTime = activityTime; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">A RefId</param> ///<param name="language">A Language</param> ///<param name="title">Name of lesson.</param> /// public Lesson( string refId, LanguageCode language, string title ) : base(Adk.SifVersion, InstrDTD.LESSON) { this.RefId = refId; this.SetLanguage( language ); this.Title = title; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID for this particular object.</param> ///<param name="language">A Language</param> ///<param name="titles">Name of this type of curriculum object (e.g., "American Revolutionary War")</param> ///<param name="curriculumHierarchyLevel">Integer assigned to each hierarchical level within the CurriculumStructure tree. The top level is "1".</param> /// public CurriculumStructure( string refId, LanguageCode language, Title titles, CurriculumHierarchyLevel curriculumHierarchyLevel ) : base(Adk.SifVersion, InstrDTD.CURRICULUMSTRUCTURE) { this.RefId = refId; this.SetLanguage( language ); this.Titles = new Titles( titles ); this.CurriculumHierarchyLevel = curriculumHierarchyLevel; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID assigned to this LearningResource.</param> ///<param name="language">A Language</param> ///<param name="name">Name of learning resource.</param> ///<param name="components">A lesson or activity-sized portion of a resource.</param> /// public LearningResource( string refId, LanguageCode language, string name, Components components ) : base(Adk.SifVersion, InstrDTD.LEARNINGRESOURCE) { this.RefId = refId; this.SetLanguage( language ); this.Name = name; this.Components = components; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">GUID assigned to each statement at each level within the document hierarchy</param> ///<param name="language">A Language</param> ///<param name="standardHierarchyLevel">Integer assigned to each hierarchical level within standards tree. The top level is "1".</param> ///<param name="gradeLevels">For a description of this element, see 5.1.12 GradeLevels.</param> ///<param name="learningStandardDocumentRefId">The RefId of the item's parent LearningStandardDocument.</param> /// public LearningStandardItem( string refId, LanguageCode language, StandardHierarchyLevel standardHierarchyLevel, GradeLevels gradeLevels, string learningStandardDocumentRefId ) : base(Adk.SifVersion, InstrDTD.LEARNINGSTANDARDITEM) { this.RefId = refId; this.SetLanguage( language ); this.StandardHierarchyLevel = standardHierarchyLevel; this.GradeLevels = gradeLevels; this.LearningStandardDocumentRefId = learningStandardDocumentRefId; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="refId">ID for the standards document</param> ///<param name="language">A Language</param> ///<param name="title">Name of standard document, i.e., "Washington Essential Academic Learning Requirements."</param> ///<param name="organizations">Name of organization represented by the document, i.e., "National Council of Teachers of Mathematics (NCTM)," "Washington," "Seattle School District."</param> ///<param name="subjectAreas">For a description of this element, see 5.1.30 SubjectArea.</param> ///<param name="documentStatus">ValuesDraft,AdoptedArchivedUnknown</param> ///<param name="learningStandardItemRefId">Link to the first/top LearningStandardItem in the Standard hierarchy</param> /// public LearningStandardDocument( string refId, LanguageCode language, string title, Organization organizations, SubjectAreas subjectAreas, DocumentStatus documentStatus, string learningStandardItemRefId ) : base(Adk.SifVersion, InstrDTD.LEARNINGSTANDARDDOCUMENT) { this.RefId = refId; this.SetLanguage( language ); this.Title = title; this.Organizations = new Organizations( organizations ); this.SubjectAreas = subjectAreas; this.SetDocumentStatus( documentStatus ); this.LearningStandardItemRefId = learningStandardItemRefId; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">This is the code that specifies the person's language.</param> /// public Language(LanguageCode code) : base(CommonDTD.LANGUAGE) { this.SetCode(code); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "This is the code that specifies the person's language."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><Code></description></item> /// </list> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode(LanguageCode val) { SetField(CommonDTD.LANGUAGE_CODE, val); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.ASSIGNMENT_LANGUAGE, val ); }
///<summary>Adds the value of the <c><Language></c> element.</summary> /// <param name="Code">This is the code that specifies the person's language.</param> ///<remarks> /// <para>This form of <c>setLanguage</c> is provided as a convenience method /// that is functionally equivalent to the method <c>AddLanguage</c></para> /// <para>Version: 2.6</para> /// <para>Since: 1.1</para> /// </remarks> public void AddLanguage(LanguageCode Code) { AddChild(CommonDTD.LANGUAGELIST_LANGUAGE, new Language(Code)); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.LESSON_LANGUAGE, val ); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "The default language used in this ContentCatalog object."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.4</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.CONTENTCATALOG_LANGUAGE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="language">The default language used in this ContentCatalog object.</param> ///<param name="contentObject">The learning object.</param> /// public ContentCatalog( LanguageCode language, ContentObject contentObject ) : base(Adk.SifVersion, InstrDTD.CONTENTCATALOG) { this.SetLanguage( language ); this.ContentObject = contentObject; }
/// <summary> /// Sets the value of the <c><Code></c> element. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this element as: "Code representing the language of instruction."</para> /// <para>Version: 2.5</para> /// <para>Since: 2.0</para> /// </remarks> public void SetCode( LanguageCode val ) { SetField( StudentDTD.LANGUAGEOFINSTRUCTION_CODE, val ); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.LEARNINGRESOURCE_LANGUAGE, val ); }
/// <summary> /// Sets the value of the <c>Code</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>The SIF specification defines the meaning of this attribute as: "This is the code that specifies the person's language."</para> /// <para>This attribute is known by more than one tag name depending on the version of SIF in use. /// The ADK will use the tag names shown below when parsing and rendering attributes of this kind.</para> /// <list type="table"><listheader><term>Version</term><description>Tag</description></listheader>; /// <item><term>2.0 (and greater)</term><description><Code></description></item> /// </list> /// <para>Version: 2.5</para> /// <para>Since: 1.1</para> /// </remarks> public void SetCode( LanguageCode val ) { SetField( CommonDTD.LANGUAGE_CODE, val ); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.ACTIVITY_LANGUAGE, val ); }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">This is the code that specifies the person's language.</param> /// public Language( LanguageCode code ) : base(CommonDTD.LANGUAGE) { this.SetCode( code ); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.LEARNINGSTANDARDDOCUMENT_LANGUAGE, val ); }
/// <summary> /// Sets the value of the <c>Language</c> attribute. /// </summary> /// <param name="val">A LanguageCode object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetLanguage( LanguageCode val ) { SetField( InstrDTD.CURRICULUMSTRUCTURE_LANGUAGE, val ); }