Class NcTaskType
A data type for a clearly defined action or activity specifically assigned to an individual or organization that must be done as it is imposed by an appropriate authority.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcTaskType : IEquatable<NcTaskType>
Properties
Context
ncTaskType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcTaskType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcTaskType.ContextEnum> | ncTaskType JSON-LD context |
CriteriaForSuccess
A description of what needs to be done to successfully complete a task. NIEM reference is nc:TaskCriteriaForSuccessText
Declaration
[DataMember(Name = "criteriaForSuccess")]
public List<NcTextType> CriteriaForSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of what needs to be done to successfully complete a task. NIEM reference is nc:TaskCriteriaForSuccessText |
CurrentStatus
A status of the progress toward accomplishment of this task. NIEM reference is nc:TaskCurrentStatus
Declaration
[DataMember(Name = "currentStatus")]
public List<NcStatusType> CurrentStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStatusType> | A status of the progress toward accomplishment of this task. NIEM reference is nc:TaskCurrentStatus |
Description
A description of the task in detail. NIEM reference is nc:TaskDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NiemXsstring> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A description of the task in detail. NIEM reference is nc:TaskDescriptionText |
EndDate
A date for the end of a task. NIEM reference is nc:TaskEndDate
Declaration
[DataMember(Name = "endDate")]
public List<NcDateType> EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date for the end of a task. NIEM reference is nc:TaskEndDate |
HsAugmentation
Additional information about a task. NIEM reference is hs:TaskAugmentation
Declaration
[DataMember(Name = "hsAugmentation")]
public List<HsTaskAugmentationType> HsAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsTaskAugmentationType> | Additional information about a task. NIEM reference is hs:TaskAugmentation |
JAugmentation
Additional information about a task. NIEM reference is j:TaskAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JTaskAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JTaskAugmentationType> | Additional information about a task. NIEM reference is j:TaskAugmentation |
MoAugmentation
Additional information about a task. NIEM reference is mo:TaskAugmentation
Declaration
[DataMember(Name = "moAugmentation")]
public List<MoTaskAugmentationType> MoAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MoTaskAugmentationType> | Additional information about a task. NIEM reference is mo:TaskAugmentation |
Name
A name of a task. NIEM reference is nc:TaskName
Declaration
[DataMember(Name = "name")]
public List<NiemXsstring> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A name of a task. NIEM reference is nc:TaskName |
StartDate
A date for the start of a task. NIEM reference is nc:TaskStartDate
Declaration
[DataMember(Name = "startDate")]
public List<NcDateType> StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date for the start of a task. NIEM reference is nc:TaskStartDate |
TaskId
An identifier for a task. NIEM reference is nc:TaskID
Declaration
[DataMember(Name = "taskId")]
public List<NiemXsstring> TaskId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier for a task. NIEM reference is nc:TaskID |
Methods
Equals(NcTaskType)
Returns true if NcTaskType instances are equal
Declaration
public bool Equals(NcTaskType other)
Parameters
Type | Name | Description |
---|---|---|
NcTaskType | other | Instance of NcTaskType 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(NcTaskType, NcTaskType)
Declaration
public static bool operator ==(NcTaskType left, NcTaskType right)
Parameters
Type | Name | Description |
---|---|---|
NcTaskType | left | |
NcTaskType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcTaskType, NcTaskType)
Declaration
public static bool operator !=(NcTaskType left, NcTaskType right)
Parameters
Type | Name | Description |
---|---|---|
NcTaskType | left | |
NcTaskType | right |
Returns
Type | Description |
---|---|
System.Boolean |