/// <summary>
 /// Initializes a new instance of the <see cref="Models.CFItemType" /> class.
 /// </summary>
 /// <param name="Identifier">Identifier (required).</param>
 /// <param name="CFDocumentURI">Model Primitive Datatype &#x3D; AnyURI (required).</param>
 /// <param name="OrganizationCompetencyCode">Model Primitive Datatype &#x3D; NormalizedString (required).</param>
 /// <param name="CompetencyEffectiveDate">Model Primitive Datatype &#x3D; DateTime.</param>
 /// <param name="CompetencyTerminationDate">Model Primitive Datatype &#x3D; DateTime.</param>
 /// <param name="FullStatement">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="CompetencyLabel">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="CFItemType">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="CompetencyAssociationSet">CompetencyAssociationSet.</param>
 /// <param name="CompetencyReferenceHierarchy">CompetencyReferenceHierarchy.</param>
 /// <param name="Uri">Model Primitive Datatype &#x3D; AnyURI (required).</param>
 /// <param name="HumanCodingScheme">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="ListEnumeration">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="AbbreviatedStatement">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="ConceptKeywords">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="ConceptKeywordsURI">ConceptKeywordsURI.</param>
 /// <param name="Notes">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Language">Model Primitive Datatype &#x3D; Language.</param>
 /// <param name="EducationLevel">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="CFItemTypeURI">CFItemTypeURI.</param>
 /// <param name="License">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="LicenseURI">LicenseURI.</param>
 /// <param name="LastChangeDateTime">Model Primitive Datatype &#x3D; DateTime (required).</param>
 /// <param name="CFItemAssociationURI">Model Primitive Datatype &#x3D; AnyURI (required).</param>
 public CFItemType(GUIDType Identifier = null, string CFDocumentURI = null, string OrganizationCompetencyCode = null, DateTime?CompetencyEffectiveDate = null, DateTime?CompetencyTerminationDate = null, string FullStatement = null, string CompetencyLabel = null, string CFItemType = null, CFAssociationSetType CompetencyAssociationSet = null, List <GUIDType> CompetencyReferenceHierarchy = null, string Uri = null, string HumanCodingScheme = null, string ListEnumeration = null, string AbbreviatedStatement = null, List <string> ConceptKeywords = null, LinkURIType ConceptKeywordsURI = null, string Notes = null, string Language = null, List <string> EducationLevel = null, LinkURIType CFItemTypeURI = null, string License = null, LinkURIType LicenseURI = null, DateTime?LastChangeDateTime = null, string CFItemAssociationURI = null)
 {
     // to ensure "Identifier" is required (not null)
     if (Identifier == null)
     {
         throw new InvalidDataException("Identifier is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.Identifier = Identifier;
     }
     // to ensure "CFDocumentURI" is required (not null)
     if (CFDocumentURI == null)
     {
         throw new InvalidDataException("CFDocumentURI is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.CFDocumentURI = CFDocumentURI;
     }
     // to ensure "OrganizationCompetencyCode" is required (not null)
     if (OrganizationCompetencyCode == null)
     {
         throw new InvalidDataException("OrganizationCompetencyCode is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.OrganizationCompetencyCode = OrganizationCompetencyCode;
     }
     // to ensure "Uri" is required (not null)
     if (Uri == null)
     {
         throw new InvalidDataException("Uri is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.Uri = Uri;
     }
     // to ensure "LastChangeDateTime" is required (not null)
     if (LastChangeDateTime == null)
     {
         throw new InvalidDataException("LastChangeDateTime is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.LastChangeDateTime = LastChangeDateTime;
     }
     // to ensure "CFItemAssociationURI" is required (not null)
     if (CFItemAssociationURI == null)
     {
         throw new InvalidDataException("CFItemAssociationURI is a required property for CFItemType and cannot be null");
     }
     else
     {
         this.CFItemAssociationURI = CFItemAssociationURI;
     }
     this.CompetencyEffectiveDate      = CompetencyEffectiveDate;
     this.CompetencyTerminationDate    = CompetencyTerminationDate;
     this.FullStatement                = FullStatement;
     this.CompetencyLabel              = CompetencyLabel;
     this.CFItemTypeType               = CFItemType;
     this.CompetencyAssociationSet     = CompetencyAssociationSet;
     this.CompetencyReferenceHierarchy = CompetencyReferenceHierarchy;
     this.HumanCodingScheme            = HumanCodingScheme;
     this.ListEnumeration              = ListEnumeration;
     this.AbbreviatedStatement         = AbbreviatedStatement;
     this.ConceptKeywords              = ConceptKeywords;
     this.ConceptKeywordsURI           = ConceptKeywordsURI;
     this.Notes          = Notes;
     this.Language       = Language;
     this.EducationLevel = EducationLevel;
     this.CFItemTypeURI  = CFItemTypeURI;
     this.License        = License;
     this.LicenseURI     = LicenseURI;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CFRubricCriterionLevelType" /> class.
 /// </summary>
 /// <param name="Identifier">Identifier (required).</param>
 /// <param name="Uri">Model Primitive Datatype &#x3D; AnyURI (required).</param>
 /// <param name="Description">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Quality">Model Primitive Datatype &#x3D; NormalizedString.</param>
 /// <param name="Score">Model Primitive Datatype &#x3D; Float.</param>
 /// <param name="Feedback">Model Primitive Datatype &#x3D; String.</param>
 /// <param name="Position">Model Primitive Datatype &#x3D; Integer.</param>
 /// <param name="RubricCriterionId">RubricCriterionId.</param>
 /// <param name="LastChangeDateTime">Model Primitive Datatype &#x3D; DateTime (required).</param>
 public CFRubricCriterionLevelType(GUIDType Identifier = null, string Uri = null, string Description = null, string Quality = null, float?Score = null, string Feedback = null, int?Position = null, GUIDType RubricCriterionId = null, DateTime?LastChangeDateTime = null)
 {
     // to ensure "Identifier" is required (not null)
     if (Identifier == null)
     {
         throw new InvalidDataException("Identifier is a required property for CFRubricCriterionLevelType and cannot be null");
     }
     else
     {
         this.Identifier = Identifier;
     }
     // to ensure "Uri" is required (not null)
     if (Uri == null)
     {
         throw new InvalidDataException("Uri is a required property for CFRubricCriterionLevelType and cannot be null");
     }
     else
     {
         this.Uri = Uri;
     }
     // to ensure "LastChangeDateTime" is required (not null)
     if (LastChangeDateTime == null)
     {
         throw new InvalidDataException("LastChangeDateTime is a required property for CFRubricCriterionLevelType and cannot be null");
     }
     else
     {
         this.LastChangeDateTime = LastChangeDateTime;
     }
     this.Description       = Description;
     this.Quality           = Quality;
     this.Score             = Score;
     this.Feedback          = Feedback;
     this.Position          = Position;
     this.RubricCriterionId = RubricCriterionId;
 }