Class JPersonLivingSituationType
A data type for a set of details specific to a subject's living situation.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JPersonLivingSituationType : IEquatable<JPersonLivingSituationType>
Properties
Category
A kind of living situation. NIEM reference is j:PersonLivingSituationCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of living situation. NIEM reference is j:PersonLivingSituationCategoryText |
Context
jPersonLivingSituationType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JPersonLivingSituationType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JPersonLivingSituationType.ContextEnum> | jPersonLivingSituationType JSON-LD context |
IsLivingWithSpouse
True if the spouse is living with the subject; false otherwise. NIEM reference is j:PersonLivingSituationLivingWithSpouseIndicator
Declaration
[DataMember(Name = "isLivingWithSpouse")]
public List<NiemXsboolean> IsLivingWithSpouse { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the spouse is living with the subject; false otherwise. NIEM reference is j:PersonLivingSituationLivingWithSpouseIndicator |
IsVerified
True if the stated living situation has been verified; false otherwise. NIEM reference is j:PersonLivingSituationVerifiedIndicator
Declaration
[DataMember(Name = "isVerified")]
public List<NiemXsboolean> IsVerified { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the stated living situation has been verified; false otherwise. NIEM reference is j:PersonLivingSituationVerifiedIndicator |
Methods
Equals(JPersonLivingSituationType)
Returns true if JPersonLivingSituationType instances are equal
Declaration
public bool Equals(JPersonLivingSituationType other)
Parameters
Type | Name | Description |
---|---|---|
JPersonLivingSituationType | other | Instance of JPersonLivingSituationType 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(JPersonLivingSituationType, JPersonLivingSituationType)
Declaration
public static bool operator ==(JPersonLivingSituationType left, JPersonLivingSituationType right)
Parameters
Type | Name | Description |
---|---|---|
JPersonLivingSituationType | left | |
JPersonLivingSituationType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JPersonLivingSituationType, JPersonLivingSituationType)
Declaration
public static bool operator !=(JPersonLivingSituationType left, JPersonLivingSituationType right)
Parameters
Type | Name | Description |
---|---|---|
JPersonLivingSituationType | left | |
JPersonLivingSituationType | right |
Returns
Type | Description |
---|---|
System.Boolean |