Class NcEntityType
A data type for a person, organization, or thing capable of bearing legal rights and responsibilities.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcEntityType : IEquatable<NcEntityType>
Properties
Context
ncEntityType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcEntityType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcEntityType.ContextEnum> | ncEntityType JSON-LD context |
Generic
A basic set of information about a person or an organization. NIEM reference is nc:GenericEntity
Declaration
[DataMember(Name = "generic")]
public List<NcGenericEntityType> Generic { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcGenericEntityType> | A basic set of information about a person or an organization. NIEM reference is nc:GenericEntity |
Item
An item capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityItem
Declaration
[DataMember(Name = "item")]
public List<NcItemType> Item { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcItemType> | An item capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityItem |
Organization
An organization capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityOrganization
Declaration
[DataMember(Name = "organization")]
public List<NcOrganizationType> Organization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An organization capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityOrganization |
Person
A person capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityPerson
Declaration
[DataMember(Name = "person")]
public List<NcPersonType> Person { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person capable of bearing legal rights and responsibilities. NIEM reference is nc:EntityPerson |
ReportingOrganization
An organization reporting information. NIEM reference is hs:ReportingOrganization
Declaration
[DataMember(Name = "reportingOrganization")]
public List<HsReportingOrganizationType> ReportingOrganization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<HsReportingOrganizationType> | An organization reporting information. NIEM reference is hs:ReportingOrganization |
Methods
Equals(NcEntityType)
Returns true if NcEntityType instances are equal
Declaration
public bool Equals(NcEntityType other)
Parameters
Type | Name | Description |
---|---|---|
NcEntityType | other | Instance of NcEntityType 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(NcEntityType, NcEntityType)
Declaration
public static bool operator ==(NcEntityType left, NcEntityType right)
Parameters
Type | Name | Description |
---|---|---|
NcEntityType | left | |
NcEntityType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcEntityType, NcEntityType)
Declaration
public static bool operator !=(NcEntityType left, NcEntityType right)
Parameters
Type | Name | Description |
---|---|---|
NcEntityType | left | |
NcEntityType | right |
Returns
Type | Description |
---|---|
System.Boolean |