Class NcGenericEntityType
A data type for a basic set of information about a person or an organization.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcGenericEntityType : IEquatable<NcGenericEntityType>
Properties
Context
ncGenericEntityType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcGenericEntityType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcGenericEntityType.ContextEnum> | ncGenericEntityType JSON-LD context |
EntityContactInformation
A set of contact information for an entity. NIEM reference is nc:EntityContactInformation
Declaration
[DataMember(Name = "entityContactInformation")]
public List<NcContactInformationType> EntityContactInformation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcContactInformationType> | A set of contact information for an entity. NIEM reference is nc:EntityContactInformation |
EntityDescription
A description of an entity. NIEM reference is nc:EntityDescriptionText
Declaration
[DataMember(Name = "entityDescription")]
public List<NcTextType> EntityDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of an entity. NIEM reference is nc:EntityDescriptionText |
EntityName
A name of an entity. NIEM reference is nc:EntityName
Declaration
[DataMember(Name = "entityName")]
public List<NcTextType> EntityName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of an entity. NIEM reference is nc:EntityName |
Methods
Equals(NcGenericEntityType)
Returns true if NcGenericEntityType instances are equal
Declaration
public bool Equals(NcGenericEntityType other)
Parameters
Type | Name | Description |
---|---|---|
NcGenericEntityType | other | Instance of NcGenericEntityType 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(NcGenericEntityType, NcGenericEntityType)
Declaration
public static bool operator ==(NcGenericEntityType left, NcGenericEntityType right)
Parameters
Type | Name | Description |
---|---|---|
NcGenericEntityType | left | |
NcGenericEntityType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcGenericEntityType, NcGenericEntityType)
Declaration
public static bool operator !=(NcGenericEntityType left, NcGenericEntityType right)
Parameters
Type | Name | Description |
---|---|---|
NcGenericEntityType | left | |
NcGenericEntityType | right |
Returns
Type | Description |
---|---|
System.Boolean |