Beispiel #1
0
 /// <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>
 /// 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;
 }
Beispiel #3
0
 /// <summary>
 /// Sets the value of the <c>&lt;Source&gt;</c> element.
 /// </summary>
 /// <param name="val">A LearningStandardSource object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetSource(LearningStandardSource val)
 {
     SetField(LearningDTD.LEARNINGSTANDARDDOCUMENT_SOURCE, val);
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Source&gt;</c> element.
 /// </summary>
 /// <param name="val">A LearningStandardSource object</param>
 /// <remarks>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetSource( LearningStandardSource val )
 {
     SetField( LearningDTD.LEARNINGSTANDARDDOCUMENT_SOURCE, val );
 }