Class NcPersonNameType
A data type for a combination of names and/or titles by which a person is known.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPersonNameType : IEquatable<NcPersonNameType>
Properties
Category
A kind of person name. NIEM reference is nc:PersonNameCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of person name. NIEM reference is nc:PersonNameCategoryText |
Context
ncPersonNameType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPersonNameType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPersonNameType.ContextEnum> | ncPersonNameType JSON-LD context |
ImAugmentation
Additional information about a person name. NIEM reference is im:PersonNameAugmentation
Declaration
[DataMember(Name = "imAugmentation")]
public List<ImPersonNameAugmentationType> ImAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImPersonNameAugmentationType> | Additional information about a person name. NIEM reference is im:PersonNameAugmentation |
JAugmentation
Additional information about a name of a person. NIEM reference is j:PersonNameAugmentation
Declaration
[DataMember(Name = "jAugmentation")]
public List<JPersonNameAugmentationType> JAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPersonNameAugmentationType> | Additional information about a name of a person. NIEM reference is j:PersonNameAugmentation |
JCategoryCode
A kind of name for a person. NIEM reference is j:PersonNameCategoryCode
Declaration
[DataMember(Name = "jCategoryCode")]
public List<JPersonNameCategoryCodeType> JCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPersonNameCategoryCodeType> | A kind of name for a person. NIEM reference is j:PersonNameCategoryCode |
NcCategoryCode
A kind of person name. NIEM reference is nc:PersonNameCategoryCode
Declaration
[DataMember(Name = "ncCategoryCode")]
public List<NcPersonNameCategoryCodeType> NcCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameCategoryCodeType> | A kind of person name. NIEM reference is nc:PersonNameCategoryCode |
PersonFullName
A complete name of a person. NIEM reference is nc:PersonFullName
Declaration
[DataMember(Name = "personFullName")]
public List<NcPersonNameTextType> PersonFullName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | A complete name of a person. NIEM reference is nc:PersonFullName |
PersonGivenName
A first name of a person. NIEM reference is nc:PersonGivenName
Declaration
[DataMember(Name = "personGivenName")]
public List<NcPersonNameTextType> PersonGivenName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | A first name of a person. NIEM reference is nc:PersonGivenName |
PersonMaidenName
An original last name or surname of a person before changed by marriage. NIEM reference is nc:PersonMaidenName
Declaration
[DataMember(Name = "personMaidenName")]
public List<NcPersonNameTextType> PersonMaidenName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | An original last name or surname of a person before changed by marriage. NIEM reference is nc:PersonMaidenName |
PersonMiddleName
A middle name of a person. NIEM reference is nc:PersonMiddleName
Declaration
[DataMember(Name = "personMiddleName")]
public List<NcPersonNameTextType> PersonMiddleName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | A middle name of a person. NIEM reference is nc:PersonMiddleName |
PersonNameComment
A comment about a kind of name for a person. NIEM reference is nc:personNameCommentText
Declaration
[DataMember(Name = "personNameComment")]
public string PersonNameComment { get; set; }
Property Value
Type | Description |
---|---|
System.String | A comment about a kind of name for a person. NIEM reference is nc:personNameCommentText |
PersonOfficialGivenName
A name, out of possibly multiple given names, that a person selects to use as his or her official given name. NIEM reference is nc:PersonOfficialGivenName
Declaration
[DataMember(Name = "personOfficialGivenName")]
public List<NcPersonNameTextType> PersonOfficialGivenName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | A name, out of possibly multiple given names, that a person selects to use as his or her official given name. NIEM reference is nc:PersonOfficialGivenName |
PersonPreferredName
A name by which this person prefers to be known. NIEM reference is nc:PersonPreferredName
Declaration
[DataMember(Name = "personPreferredName")]
public List<NcTextType> PersonPreferredName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name by which this person prefers to be known. NIEM reference is nc:PersonPreferredName |
PersonSurName
A last name or family name of a person. NIEM reference is nc:PersonSurName
Declaration
[DataMember(Name = "personSurName")]
public List<NcPersonNameTextType> PersonSurName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameTextType> | A last name or family name of a person. NIEM reference is nc:PersonSurName |
PersonSurNamePrefix
A prefix that precedes this person's family name such as Van, Von. NIEM reference is nc:PersonSurNamePrefixText
Declaration
[DataMember(Name = "personSurNamePrefix")]
public List<NcTextType> PersonSurNamePrefix { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A prefix that precedes this person's family name such as Van, Von. NIEM reference is nc:PersonSurNamePrefixText |
Prefix
A title or honorific used by a person. NIEM reference is nc:PersonNamePrefixText
Declaration
[DataMember(Name = "prefix")]
public List<NcTextType> Prefix { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A title or honorific used by a person. NIEM reference is nc:PersonNamePrefixText |
Salutation
A formal sign or expression of greeting that is appropriate for this person. NIEM reference is nc:PersonNameSalutationText
Declaration
[DataMember(Name = "salutation")]
public List<NcTextType> Salutation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A formal sign or expression of greeting that is appropriate for this person. NIEM reference is nc:PersonNameSalutationText |
ScrAugmentation
Additional information about a person name. NIEM reference is scr:PersonNameAugmentation
Declaration
[DataMember(Name = "scrAugmentation")]
public List<ScrPersonNameAugmentationType> ScrAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScrPersonNameAugmentationType> | Additional information about a person name. NIEM reference is scr:PersonNameAugmentation |
Suffix
A term appended after the family name that qualifies the name. NIEM reference is nc:PersonNameSuffixText
Declaration
[DataMember(Name = "suffix")]
public List<NcTextType> Suffix { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A term appended after the family name that qualifies the name. NIEM reference is nc:PersonNameSuffixText |
TextAugmentation
Additional information about a name of a person. NIEM reference is scr:PersonNameTextAugmentation
Declaration
[DataMember(Name = "textAugmentation")]
public List<ScrPersonNameTextAugmentationType> TextAugmentation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ScrPersonNameTextAugmentationType> | Additional information about a name of a person. NIEM reference is scr:PersonNameTextAugmentation |
Methods
Equals(NcPersonNameType)
Returns true if NcPersonNameType instances are equal
Declaration
public bool Equals(NcPersonNameType other)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameType | other | Instance of NcPersonNameType 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(NcPersonNameType, NcPersonNameType)
Declaration
public static bool operator ==(NcPersonNameType left, NcPersonNameType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameType | left | |
NcPersonNameType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPersonNameType, NcPersonNameType)
Declaration
public static bool operator !=(NcPersonNameType left, NcPersonNameType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonNameType | left | |
NcPersonNameType | right |
Returns
Type | Description |
---|---|
System.Boolean |