Class NcActivityPersonAssociationType
A data type for an association between an activity and a person.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcActivityPersonAssociationType : NcAssociationType, IEquatable<NcAssociationType>, IEquatable<NcActivityPersonAssociationType>
Properties
Activity
A single or set of related actions, events, or process steps. NIEM reference is nc:Activity
Declaration
[DataMember(Name = "activity")]
public List<NcActivityType> Activity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcActivityType> | A single or set of related actions, events, or process steps. NIEM reference is nc:Activity |
ActivityInvolvement
A description of the involvement of an entity in an activity. NIEM reference is nc:ActivityInvolvementText
Declaration
[DataMember(Name = "activityInvolvement")]
public List<NcTextType> ActivityInvolvement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the involvement of an entity in an activity. NIEM reference is nc:ActivityInvolvementText |
Augmentation
Additional information about a relationship between an activity and a person involved in that activity. NIEM reference is hs:ActivityPersonAssociationAugmentation
Declaration
[DataMember(Name = "augmentation")]
public List<HsActivityInvolvedPersonAssociationAugmentationType> Augmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsActivityInvolvedPersonAssociationAugmentationType> | Additional information about a relationship between an activity and a person involved in that activity. NIEM reference is hs:ActivityPersonAssociationAugmentation |
Context
ncActivityPersonAssociationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcActivityPersonAssociationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcActivityPersonAssociationType.ContextEnum> | ncActivityPersonAssociationType JSON-LD context |
Person
A human being. NIEM reference is nc:Person
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A human being. NIEM reference is nc:Person |
Methods
Equals(NcActivityPersonAssociationType)
Returns true if NcActivityPersonAssociationType instances are equal
Declaration
public bool Equals(NcActivityPersonAssociationType other)
Parameters
Type | Name | Description |
---|---|---|
NcActivityPersonAssociationType | other | Instance of NcActivityPersonAssociationType 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(NcActivityPersonAssociationType, NcActivityPersonAssociationType)
Declaration
public static bool operator ==(NcActivityPersonAssociationType left, NcActivityPersonAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcActivityPersonAssociationType | left | |
NcActivityPersonAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcActivityPersonAssociationType, NcActivityPersonAssociationType)
Declaration
public static bool operator !=(NcActivityPersonAssociationType left, NcActivityPersonAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcActivityPersonAssociationType | left | |
NcActivityPersonAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |