Class NcPersonUnionSeparationType
A data type for a separation of the parties in a Person Union.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPersonUnionSeparationType : NcActivityType, IEquatable<NcActivityType>, IEquatable<NcPersonUnionSeparationType>
Properties
Context
ncPersonUnionSeparationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPersonUnionSeparationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPersonUnionSeparationType.ContextEnum> | ncPersonUnionSeparationType JSON-LD context |
SeparationCategory
A kind of separation of the parties in a Person Union. NIEM reference is nc:SeparationCategoryText
Declaration
[DataMember(Name = "separationCategory")]
public List<NcTextType> SeparationCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of separation of the parties in a Person Union. NIEM reference is nc:SeparationCategoryText |
SeparationCategoryCode
A code that identifies the type of separation between the parties in a Person Union. NIEM reference is nc:SeparationCategoryCode
Declaration
[DataMember(Name = "separationCategoryCode")]
public List<NcSeparationCategoryCodeType> SeparationCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcSeparationCategoryCodeType> | A code that identifies the type of separation between the parties in a Person Union. NIEM reference is nc:SeparationCategoryCode |
SeparationDateRange
A date range during which the parties in a Person Union were separated. NIEM reference is nc:SeparationDateRange
Declaration
[DataMember(Name = "separationDateRange")]
public List<NcDateRangeType> SeparationDateRange { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateRangeType> | A date range during which the parties in a Person Union were separated. NIEM reference is nc:SeparationDateRange |
Methods
Equals(NcPersonUnionSeparationType)
Returns true if NcPersonUnionSeparationType instances are equal
Declaration
public bool Equals(NcPersonUnionSeparationType other)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionSeparationType | other | Instance of NcPersonUnionSeparationType 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(NcPersonUnionSeparationType, NcPersonUnionSeparationType)
Declaration
public static bool operator ==(NcPersonUnionSeparationType left, NcPersonUnionSeparationType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionSeparationType | left | |
NcPersonUnionSeparationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPersonUnionSeparationType, NcPersonUnionSeparationType)
Declaration
public static bool operator !=(NcPersonUnionSeparationType left, NcPersonUnionSeparationType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonUnionSeparationType | left | |
NcPersonUnionSeparationType | right |
Returns
Type | Description |
---|---|
System.Boolean |