Class NcPersonNameTextType
A data type for a name by which a person is known, referred, or addressed.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPersonNameTextType : NcProperNameTextType, IEquatable<NiemXsstring>, IEquatable<NcTextType>, IEquatable<NcProperNameTextType>, IEquatable<NcPersonNameTextType>
Properties
Context
ncPersonNameTextType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPersonNameTextType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPersonNameTextType.ContextEnum> | ncPersonNameTextType JSON-LD context |
IsPersonNameInitial
True if value represents the first letter or initials of a persons name; false otherwise. NIEM reference is nc:personNameInitialIndicator
Declaration
[DataMember(Name = "isPersonNameInitial")]
public bool? IsPersonNameInitial { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if value represents the first letter or initials of a persons name; false otherwise. NIEM reference is nc:personNameInitialIndicator |
SequenceId
A numeric identifier that explicitly sequences or orders elements. NIEM reference is nc:sequenceID
Declaration
[DataMember(Name = "sequenceId")]
public decimal? SequenceId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | A numeric identifier that explicitly sequences or orders elements. NIEM reference is nc:sequenceID |
Methods
Equals(NcPersonNameTextType)
Returns true if NcPersonNameTextType instances are equal
Declaration
public bool Equals(NcPersonNameTextType other)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameTextType | other | Instance of NcPersonNameTextType 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(NcPersonNameTextType, NcPersonNameTextType)
Declaration
public static bool operator ==(NcPersonNameTextType left, NcPersonNameTextType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameTextType | left | |
NcPersonNameTextType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPersonNameTextType, NcPersonNameTextType)
Declaration
public static bool operator !=(NcPersonNameTextType left, NcPersonNameTextType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameTextType | left | |
NcPersonNameTextType | right |
Returns
Type | Description |
---|---|
System.Boolean |