/// <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">A Title</param> ///<param name="source">A Source</param> ///<param name="organizations">An Organizations</param> ///<param name="subjectAreas">A SubjectAreas</param> ///<param name="documentStatus">A DocumentStatus</param> ///<param name="learningStandardItemRefId">A LearningStandardItemRefId</param> /// public LearningStandardDocument( string refId, string language, string title, LearningStandardSource source, Organization organizations, SubjectAreaList subjectAreas, DocumentStatusType documentStatus, string learningStandardItemRefId ) : base(Adk.SifVersion, LearningDTD.LEARNINGSTANDARDDOCUMENT) { this.RefId = refId; this.Language = language; this.Title = title; this.SetSource( source ); 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">An Organization</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.6</para> /// <para>Since: 2.4</para> /// </remarks> public void SetOrganizations( Organization Organization ) { RemoveChild( LearningDTD.LEARNINGSTANDARDDOCUMENT_ORGANIZATIONS); AddChild( LearningDTD.LEARNINGSTANDARDDOCUMENT_ORGANIZATIONS, new Organizations( Organization ) ); }