/// <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>Sets the value of the <c><Organizations></c> element.</summary> /// <param name="Organization">Name of organization represented by the document, i.e., "National Council of Teachers of Mathematics (NCTM)," "Washington," "Seattle School District."</param> ///<remarks> /// <para>This form of <c>setOrganizations</c> is provided as a convenience method /// that is functionally equivalent to the <c>Organizations</c></para> /// <para>Version: 2.5</para> /// <para>Since: 1.5r1</para> /// </remarks> public void SetOrganizations( Organization Organization ) { RemoveChild( InstrDTD.LEARNINGSTANDARDDOCUMENT_ORGANIZATIONS); AddChild( InstrDTD.LEARNINGSTANDARDDOCUMENT_ORGANIZATIONS, new Organizations( Organization ) ); }