Class NcPersonUnionAssociationType
A data type for an association between two persons who are in a state of union with each other.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPersonUnionAssociationType : NcPersonAssociationType, IEquatable<NcAssociationType>, IEquatable<NcPersonAssociationType>, IEquatable<NcPersonUnionAssociationType>
Properties
Context
ncPersonUnionAssociationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPersonUnionAssociationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPersonUnionAssociationType.ContextEnum> | ncPersonUnionAssociationType JSON-LD context |
IsPersonUnionCertificate
True if a document certifying the Person Union exists; false otherwise. NIEM reference is nc:PersonUnionCertificateIndicator
Declaration
[DataMember(Name = "isPersonUnionCertificate")]
public List<NiemXsboolean> IsPersonUnionCertificate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a document certifying the Person Union exists; false otherwise. NIEM reference is nc:PersonUnionCertificateIndicator |
MaritalStatusCode
A status of a union, such as separated or divorced. NIEM reference is j:MaritalStatusCode
Declaration
[DataMember(Name = "maritalStatusCode")]
public List<NdexMaritalStatusCodeType> MaritalStatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexMaritalStatusCodeType> | A status of a union, such as separated or divorced. NIEM reference is j:MaritalStatusCode |
PersonDisunion
A legal termination of a Person Union. NIEM reference is nc:PersonDisunion
Declaration
[DataMember(Name = "personDisunion")]
public List<NcPersonDisunionType> PersonDisunion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonDisunionType> | A legal termination of a Person Union. NIEM reference is nc:PersonDisunion |
PersonUnionCategory
A kind of union between two people. NIEM reference is nc:PersonUnionCategoryText
Declaration
[DataMember(Name = "personUnionCategory")]
public List<NcTextType> PersonUnionCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of union between two people. NIEM reference is nc:PersonUnionCategoryText |
PersonUnionCategoryCode
A kind of union between two people. NIEM reference is nc:PersonUnionCategoryCode
Declaration
[DataMember(Name = "personUnionCategoryCode")]
public List<NcPersonUnionCategoryCodeType> PersonUnionCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonUnionCategoryCodeType> | A kind of union between two people. NIEM reference is nc:PersonUnionCategoryCode |
PersonUnionLocation
A location where the Person Union occurred. NIEM reference is nc:PersonUnionLocation
Declaration
[DataMember(Name = "personUnionLocation")]
public List<NcLocationType> PersonUnionLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A location where the Person Union occurred. NIEM reference is nc:PersonUnionLocation |
PersonUnionSeparation
A separation of the parties in a Person Union. NIEM reference is nc:PersonUnionSeparation
Declaration
[DataMember(Name = "personUnionSeparation")]
public List<NcPersonUnionSeparationType> PersonUnionSeparation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonUnionSeparationType> | A separation of the parties in a Person Union. NIEM reference is nc:PersonUnionSeparation |
PersonUnionStatus
A legal status of a union between two people. NIEM reference is nc:PersonUnionStatusText
Declaration
[DataMember(Name = "personUnionStatus")]
public List<NcTextType> PersonUnionStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A legal status of a union between two people. NIEM reference is nc:PersonUnionStatusText |
PersonUnionStatusCode
A legal status of a union between two people. NIEM reference is nc:PersonUnionStatusCode
Declaration
[DataMember(Name = "personUnionStatusCode")]
public List<NcPersonUnionStatusCodeType> PersonUnionStatusCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonUnionStatusCodeType> | A legal status of a union between two people. NIEM reference is nc:PersonUnionStatusCode |
Methods
Equals(NcPersonUnionAssociationType)
Returns true if NcPersonUnionAssociationType instances are equal
Declaration
public bool Equals(NcPersonUnionAssociationType other)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionAssociationType | other | Instance of NcPersonUnionAssociationType 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(NcPersonUnionAssociationType, NcPersonUnionAssociationType)
Declaration
public static bool operator ==(NcPersonUnionAssociationType left, NcPersonUnionAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionAssociationType | left | |
NcPersonUnionAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPersonUnionAssociationType, NcPersonUnionAssociationType)
Declaration
public static bool operator !=(NcPersonUnionAssociationType left, NcPersonUnionAssociationType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionAssociationType | left | |
NcPersonUnionAssociationType | right |
Returns
Type | Description |
---|---|
System.Boolean |