Class NcActivityType
A data type for a single or set of related actions, events, or process steps.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcActivityType : IEquatable<NcActivityType>
Properties
Augmentation
Additional information about an activity. NIEM reference is j:ActivityAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<JActivityAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JActivityAugmentationType> | Additional information about an activity. NIEM reference is j:ActivityAugmentation |
Category
A kind of activity. NIEM reference is nc:ActivityCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of activity. NIEM reference is nc:ActivityCategoryText |
ContactEntity
A person or organization to contact for additional information about an activity. NIEM reference is nc:ActivityContactEntity
Declaration
[DataMember(Name = "contactEntity")]
public List<NcEntityType> ContactEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | A person or organization to contact for additional information about an activity. NIEM reference is nc:ActivityContactEntity |
Context
ncActivityType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcActivityType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcActivityType.ContextEnum> | ncActivityType JSON-LD context |
Date
A date of an activity. NIEM reference is nc:ActivityDate
Declaration
[DataMember(Name = "date")]
public List<NcDateType> Date { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date of an activity. NIEM reference is nc:ActivityDate |
Description
A description of an activity. NIEM reference is nc:ActivityDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an activity. NIEM reference is nc:ActivityDescriptionText |
Disposition
A result or outcome of an activity. NIEM reference is nc:ActivityDisposition
Declaration
[DataMember(Name = "disposition")]
public List<NcDispositionType> Disposition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDispositionType> | A result or outcome of an activity. NIEM reference is nc:ActivityDisposition |
Identification
An identification that references an activity. NIEM reference is nc:ActivityIdentification
Declaration
[DataMember(Name = "identification")]
public List<NcIdentificationType> Identification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification that references an activity. NIEM reference is nc:ActivityIdentification |
Name
A name of an activity. NIEM reference is nc:ActivityName
Declaration
[DataMember(Name = "name")]
public List<NcTextType> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of an activity. NIEM reference is nc:ActivityName |
Reason
A reason for an activity. NIEM reference is nc:ActivityReasonText
Declaration
[DataMember(Name = "reason")]
public List<NcTextType> Reason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A reason for an activity. NIEM reference is nc:ActivityReasonText |
Status
A status of an activity. NIEM reference is nc:ActivityStatus
Declaration
[DataMember(Name = "status")]
public List<NcStatusType> Status { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStatusType> | A status of an activity. NIEM reference is nc:ActivityStatus |
Methods
Equals(NcActivityType)
Returns true if NcActivityType instances are equal
Declaration
public bool Equals(NcActivityType other)
Parameters
Type | Name | Description |
---|---|---|
NcActivityType | other | Instance of NcActivityType 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(NcActivityType, NcActivityType)
Declaration
public static bool operator ==(NcActivityType left, NcActivityType right)
Parameters
Type | Name | Description |
---|---|---|
NcActivityType | left | |
NcActivityType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcActivityType, NcActivityType)
Declaration
public static bool operator !=(NcActivityType left, NcActivityType right)
Parameters
Type | Name | Description |
---|---|---|
NcActivityType | left | |
NcActivityType | right |
Returns
Type | Description |
---|---|
System.Boolean |