Class NcAssociationType
A data type for an association, connection, relationship, or involvement somehow linking people, things, and/or activities together.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcAssociationType : IEquatable<NcAssociationType>
Properties
Context
ncAssociationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcAssociationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcAssociationType.ContextEnum> | ncAssociationType JSON-LD context |
DateRange
A date range in which an association occurs. NIEM reference is nc:AssociationDateRange
Declaration
[DataMember(Name = "dateRange")]
public List<NcDateRangeType> DateRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateRangeType> | A date range in which an association occurs. NIEM reference is nc:AssociationDateRange |
Description
A description of an association. NIEM reference is nc:AssociationDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an association. NIEM reference is nc:AssociationDescriptionText |
Methods
Equals(NcAssociationType)
Returns true if NcAssociationType instances are equal
Declaration
public bool Equals(NcAssociationType other)
Parameters
Type | Name | Description |
---|---|---|
NcAssociationType | other | Instance of NcAssociationType 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(NcAssociationType, NcAssociationType)
Declaration
public static bool operator ==(NcAssociationType left, NcAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcAssociationType | left | |
NcAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcAssociationType, NcAssociationType)
Declaration
public static bool operator !=(NcAssociationType left, NcAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcAssociationType | left | |
NcAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |