Class NcPersonLanguageType
A data type for a language capability of a person.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcPersonLanguageType : IEquatable<NcPersonLanguageType>
Properties
Context
ncPersonLanguageType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcPersonLanguageType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcPersonLanguageType.ContextEnum> | ncPersonLanguageType JSON-LD context |
IsPersonComprehendsSpokenLanguage
True if a person is able to grasp and understand the meaning of a language being spoken; false otherwise. NIEM reference is nc:PersonComprehendsSpokenLanguageIndicator
Declaration
[DataMember(Name = "isPersonComprehendsSpokenLanguage")]
public List<NiemXsboolean> IsPersonComprehendsSpokenLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is able to grasp and understand the meaning of a language being spoken; false otherwise. NIEM reference is nc:PersonComprehendsSpokenLanguageIndicator |
IsPersonReadsLanguage
True if a person is able to read a language; false otherwise. NIEM reference is nc:PersonReadsLanguageIndicator
Declaration
[DataMember(Name = "isPersonReadsLanguage")]
public List<NiemXsboolean> IsPersonReadsLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is able to read a language; false otherwise. NIEM reference is nc:PersonReadsLanguageIndicator |
IsPersonSpeaksLanguage
True if a person is able to speak a language; false otherwise. NIEM reference is nc:PersonSpeaksLanguageIndicator
Declaration
[DataMember(Name = "isPersonSpeaksLanguage")]
public List<NiemXsboolean> IsPersonSpeaksLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is able to speak a language; false otherwise. NIEM reference is nc:PersonSpeaksLanguageIndicator |
IsPersonWritesLanguage
True if a person is able to write a language; false otherwise. NIEM reference is nc:PersonWritesLanguageIndicator
Declaration
[DataMember(Name = "isPersonWritesLanguage")]
public List<NiemXsboolean> IsPersonWritesLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a person is able to write a language; false otherwise. NIEM reference is nc:PersonWritesLanguageIndicator |
LanguageCode
A system of words or symbols used for communication. NIEM reference is nc:LanguageCode
Declaration
[DataMember(Name = "languageCode")]
public List<Iso6393LanguageCodeType> LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso6393LanguageCodeType> | A system of words or symbols used for communication. NIEM reference is nc:LanguageCode |
LanguageName
A name of a system of words or symbols used for communication. NIEM reference is nc:LanguageName
Declaration
[DataMember(Name = "languageName")]
public List<NcTextType> LanguageName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a system of words or symbols used for communication. NIEM reference is nc:LanguageName |
Methods
Equals(NcPersonLanguageType)
Returns true if NcPersonLanguageType instances are equal
Declaration
public bool Equals(NcPersonLanguageType other)
Parameters
Type | Name | Description |
---|---|---|
NcPersonLanguageType | other | Instance of NcPersonLanguageType 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(NcPersonLanguageType, NcPersonLanguageType)
Declaration
public static bool operator ==(NcPersonLanguageType left, NcPersonLanguageType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonLanguageType | left | |
NcPersonLanguageType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcPersonLanguageType, NcPersonLanguageType)
Declaration
public static bool operator !=(NcPersonLanguageType left, NcPersonLanguageType right)
Parameters
Type | Name | Description |
---|---|---|
NcPersonLanguageType | left | |
NcPersonLanguageType | right |
Returns
Type | Description |
---|---|
System.Boolean |