Class NcProgramType
A data type for a set of projects, activities, or services intended to meet a need.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcProgramType : NcActivityType, IEquatable<NcActivityType>, IEquatable<NcProgramType>
Properties
Action
A project or service of a program. NIEM reference is nc:ProgramAction
Declaration
[DataMember(Name = "action")]
public List<NcActivityType> Action { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcActivityType> | A project or service of a program. NIEM reference is nc:ProgramAction |
Administrator
An entity that runs a program. NIEM reference is nc:ProgramAdministrator
Declaration
[DataMember(Name = "administrator")]
public List<NcEntityType> Administrator { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity that runs a program. NIEM reference is nc:ProgramAdministrator |
CapacityQuantity
A maximum number of people that can be enrolled in a program at a time. NIEM reference is nc:ProgramCapacityQuantity
Declaration
[DataMember(Name = "capacityQuantity")]
public List<NiemXsnonNegativeInteger> CapacityQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsnonNegativeInteger> | A maximum number of people that can be enrolled in a program at a time. NIEM reference is nc:ProgramCapacityQuantity |
Condition
A condition that must be met in order for a person to remain in a program. NIEM reference is nc:ProgramCondition
Declaration
[DataMember(Name = "condition")]
public List<NcConditionType> Condition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcConditionType> | A condition that must be met in order for a person to remain in a program. NIEM reference is nc:ProgramCondition |
Context
ncProgramType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcProgramType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcProgramType.ContextEnum> | ncProgramType JSON-LD context |
Facility
A place where a program is located. NIEM reference is nc:ProgramFacility
Declaration
[DataMember(Name = "facility")]
public List<NcFacilityType> Facility { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcFacilityType> | A place where a program is located. NIEM reference is nc:ProgramFacility |
HsAugmentation
Additional information about a program. NIEM reference is hs:ProgramAugmentation
Declaration
[DataMember(Name = "hsAugmentation")]
public List<HsProgramAugmentationType> HsAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsProgramAugmentationType> | Additional information about a program. NIEM reference is hs:ProgramAugmentation |
ImAugmentation
Additional information about a program. NIEM reference is im:ProgramAugmentation
Declaration
[DataMember(Name = "imAugmentation")]
public List<ImProgramAugmentationType> ImAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImProgramAugmentationType> | Additional information about a program. NIEM reference is im:ProgramAugmentation |
IsPubliclyRun
True if a program is run in the public sector; false if the program is run privately. NIEM reference is nc:ProgramPubliclyRunIndicator
Declaration
[DataMember(Name = "isPubliclyRun")]
public List<NiemXsboolean> IsPubliclyRun { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a program is run in the public sector; false if the program is run privately. NIEM reference is nc:ProgramPubliclyRunIndicator |
IsResidential
True if a person resides at a program facility; false otherwise. NIEM reference is nc:ProgramResidentialIndicator
Declaration
[DataMember(Name = "isResidential")]
public List<NiemXsboolean> IsResidential { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person resides at a program facility; false otherwise. NIEM reference is nc:ProgramResidentialIndicator |
IsSupervised
True if a person will be officially supervised through the duration of a program; false otherwise. NIEM reference is nc:ProgramSupervisedIndicator
Declaration
[DataMember(Name = "isSupervised")]
public List<NiemXsboolean> IsSupervised { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person will be officially supervised through the duration of a program; false otherwise. NIEM reference is nc:ProgramSupervisedIndicator |
JAugmentation
Additional information about a Program. NIEM reference is j:ProgramAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JProgramAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JProgramAugmentationType> | Additional information about a Program. NIEM reference is j:ProgramAugmentation |
Person
A person who attends a program. NIEM reference is nc:ProgramPerson
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person who attends a program. NIEM reference is nc:ProgramPerson |
Purpose
A purpose or reason for a program. NIEM reference is nc:ProgramPurposeText
Declaration
[DataMember(Name = "purpose")]
public List<NcTextType> Purpose { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A purpose or reason for a program. NIEM reference is nc:ProgramPurposeText |
Referral
A recommendation or mandate for a person to attend a program. NIEM reference is nc:ProgramReferral
Declaration
[DataMember(Name = "referral")]
public List<NcReferralType> Referral { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcReferralType> | A recommendation or mandate for a person to attend a program. NIEM reference is nc:ProgramReferral |
Release
A manner by which a person left a program. NIEM reference is nc:ProgramRelease
Declaration
[DataMember(Name = "release")]
public List<NcReleaseType> Release { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcReleaseType> | A manner by which a person left a program. NIEM reference is nc:ProgramRelease |
Supervisor
An entity that oversees and manages a program. NIEM reference is nc:ProgramSupervisor
Declaration
[DataMember(Name = "supervisor")]
public List<NcEntityType> Supervisor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An entity that oversees and manages a program. NIEM reference is nc:ProgramSupervisor |
Methods
Equals(NcProgramType)
Returns true if NcProgramType instances are equal
Declaration
public bool Equals(NcProgramType other)
Parameters
Type | Name | Description |
---|---|---|
NcProgramType | other | Instance of NcProgramType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcProgramType, NcProgramType)
Declaration
public static bool operator ==(NcProgramType left, NcProgramType right)
Parameters
Type | Name | Description |
---|---|---|
NcProgramType | left | |
NcProgramType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcProgramType, NcProgramType)
Declaration
public static bool operator !=(NcProgramType left, NcProgramType right)
Parameters
Type | Name | Description |
---|---|---|
NcProgramType | left | |
NcProgramType | right |
Returns
Type | Description |
---|---|
System.Boolean |