Class MMerchantMarinerDocumentType
A data type for a Merchant Mariner Document (MMD).
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MMerchantMarinerDocumentType : IEquatable<MMerchantMarinerDocumentType>
Properties
Context
mMerchantMarinerDocumentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MMerchantMarinerDocumentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MMerchantMarinerDocumentType.ContextEnum> | mMerchantMarinerDocumentType JSON-LD context |
Identification
An identification of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIdentification
Declaration
[DataMember(Name = "identification")]
public List<NcIdentificationType> Identification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | An identification of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIdentification |
IssueDate
A date a merchant mariner document was issued. NIEM reference is m:MerchantMarinerDocumentIssueDate
Declaration
[DataMember(Name = "issueDate")]
public List<NcDateType> IssueDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a merchant mariner document was issued. NIEM reference is m:MerchantMarinerDocumentIssueDate |
IssuerLocation
A location of the issuer of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIssuerLocation
Declaration
[DataMember(Name = "issuerLocation")]
public List<NcLocationType> IssuerLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLocationType> | A location of the issuer of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIssuerLocation |
IssuingOrganization
An issuer of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIssuingOrganization
Declaration
[DataMember(Name = "issuingOrganization")]
public List<NcOrganizationType> IssuingOrganization { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | An issuer of a merchant mariner document. NIEM reference is m:MerchantMarinerDocumentIssuingOrganization |
PersonAddress
An address for a person. NIEM reference is m:PersonAddress
Declaration
[DataMember(Name = "personAddress")]
public List<NcAddressType> PersonAddress { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcAddressType> | An address for a person. NIEM reference is m:PersonAddress |
PersonBirthDate
A date a person was born. NIEM reference is nc:PersonBirthDate
Declaration
[DataMember(Name = "personBirthDate")]
public List<NcDateType> PersonBirthDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a person was born. NIEM reference is nc:PersonBirthDate |
PersonCitizenship
A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipText
Declaration
[DataMember(Name = "personCitizenship")]
public List<NcTextType> PersonCitizenship { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipText |
PersonCitizenshipIso3166Alpha2Code
A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipISO3166Alpha2Code
Declaration
[DataMember(Name = "personCitizenshipIso3166Alpha2Code")]
public List<Iso3166CountryAlpha2CodeType> PersonCitizenshipIso3166Alpha2Code { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Iso3166CountryAlpha2CodeType> | A country that assigns rights, duties, and privileges to a person because of the birth or naturalization of the person in that country. NIEM reference is nc:PersonCitizenshipISO3166Alpha2Code |
PersonEyeColor
A color of the eyes of a person. NIEM reference is nc:PersonEyeColorText
Declaration
[DataMember(Name = "personEyeColor")]
public List<NcTextType> PersonEyeColor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A color of the eyes of a person. NIEM reference is nc:PersonEyeColorText |
PersonEyeColorCode
A color of the eyes of a person. NIEM reference is j:PersonEyeColorCode
Declaration
[DataMember(Name = "personEyeColorCode")]
public List<NcicEYECodeType> PersonEyeColorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcicEYECodeType> | A color of the eyes of a person. NIEM reference is j:PersonEyeColorCode |
PersonEyeColorRapSheetCode
A code set identifying an eye color of a person. NIEM reference is j:PersonEyeColorRapSheetCode
Declaration
[DataMember(Name = "personEyeColorRapSheetCode")]
public List<JPersonEyeColorCodeType> PersonEyeColorRapSheetCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPersonEyeColorCodeType> | A code set identifying an eye color of a person. NIEM reference is j:PersonEyeColorRapSheetCode |
PersonHairColor
A color of the hair of a person. NIEM reference is nc:PersonHairColorText
Declaration
[DataMember(Name = "personHairColor")]
public List<NcTextType> PersonHairColor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A color of the hair of a person. NIEM reference is nc:PersonHairColorText |
PersonHairColorCode
A color of the hair of a person. NIEM reference is j:PersonHairColorCode
Declaration
[DataMember(Name = "personHairColorCode")]
public List<NcicHAIRCodeType> PersonHairColorCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcicHAIRCodeType> | A color of the hair of a person. NIEM reference is j:PersonHairColorCode |
PersonHairColorRapSheetCode
A code set identifying a hair color of a person. NIEM reference is j:PersonHairColorRapSheetCode
Declaration
[DataMember(Name = "personHairColorRapSheetCode")]
public List<JPersonHairColorCodeType> PersonHairColorRapSheetCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPersonHairColorCodeType> | A code set identifying a hair color of a person. NIEM reference is j:PersonHairColorRapSheetCode |
PersonHeightDescription
A description of the height of a person. NIEM reference is nc:PersonHeightDescriptionText
Declaration
[DataMember(Name = "personHeightDescription")]
public List<NcTextType> PersonHeightDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the height of a person. NIEM reference is nc:PersonHeightDescriptionText |
PersonHeightMeasure
A measurement of the height of a person. NIEM reference is nc:PersonHeightMeasure
Declaration
[DataMember(Name = "personHeightMeasure")]
public List<NcLengthMeasureType> PersonHeightMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcLengthMeasureType> | A measurement of the height of a person. NIEM reference is nc:PersonHeightMeasure |
PersonName
A combination of names and/or titles by which a person is known. NIEM reference is nc:PersonName
Declaration
[DataMember(Name = "personName")]
public List<NcPersonNameType> PersonName { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonNameType> | A combination of names and/or titles by which a person is known. NIEM reference is nc:PersonName |
PersonSex
A gender or sex of a person. NIEM reference is nc:PersonSexText
Declaration
[DataMember(Name = "personSex")]
public List<NcTextType> PersonSex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A gender or sex of a person. NIEM reference is nc:PersonSexText |
PersonSexCode
A gender or sex of a person. NIEM reference is j:PersonSexCode
Declaration
[DataMember(Name = "personSexCode")]
public List<NcicSEXCodeType> PersonSexCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcicSEXCodeType> | A gender or sex of a person. NIEM reference is j:PersonSexCode |
PersonSexNdExCode
A code that identifies the gender or sex of the person. NIEM reference is j:PersonSexNDExCode
Declaration
[DataMember(Name = "personSexNdExCode")]
public List<NdexSEXCodeType> PersonSexNdExCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexSEXCodeType> | A code that identifies the gender or sex of the person. NIEM reference is j:PersonSexNDExCode |
PersonSexRapSheetCode
A code set identifying a gender or sex of a person. NIEM reference is j:PersonSexRapSheetCode
Declaration
[DataMember(Name = "personSexRapSheetCode")]
public List<JPersonSexCodeType> PersonSexRapSheetCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPersonSexCodeType> | A code set identifying a gender or sex of a person. NIEM reference is j:PersonSexRapSheetCode |
PersonSsnIdentification
A unique identification reference to a living person; assigned by the United States Social Security Administration. NIEM reference is nc:PersonSSNIdentification
Declaration
[DataMember(Name = "personSsnIdentification")]
public List<NcIdentificationType> PersonSsnIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A unique identification reference to a living person; assigned by the United States Social Security Administration. NIEM reference is nc:PersonSSNIdentification |
PersonWeightDescription
A description of the weight of a person. NIEM reference is nc:PersonWeightDescriptionText
Declaration
[DataMember(Name = "personWeightDescription")]
public List<NcTextType> PersonWeightDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the weight of a person. NIEM reference is nc:PersonWeightDescriptionText |
PersonWeightMeasure
A measurement of the weight of a person. NIEM reference is nc:PersonWeightMeasure
Declaration
[DataMember(Name = "personWeightMeasure")]
public List<NcWeightMeasureType> PersonWeightMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcWeightMeasureType> | A measurement of the weight of a person. NIEM reference is nc:PersonWeightMeasure |
Rating
A rating on a merchant mariner document which authorizes the performance of certain shipboard duties or actions. NIEM reference is m:MerchantMarinerDocumentRatingText
Declaration
[DataMember(Name = "rating")]
public List<NcTextType> Rating { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A rating on a merchant mariner document which authorizes the performance of certain shipboard duties or actions. NIEM reference is m:MerchantMarinerDocumentRatingText |
Methods
Equals(MMerchantMarinerDocumentType)
Returns true if MMerchantMarinerDocumentType instances are equal
Declaration
public bool Equals(MMerchantMarinerDocumentType other)
Parameters
Type | Name | Description |
---|---|---|
MMerchantMarinerDocumentType | other | Instance of MMerchantMarinerDocumentType 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(MMerchantMarinerDocumentType, MMerchantMarinerDocumentType)
Declaration
public static bool operator ==(MMerchantMarinerDocumentType left, MMerchantMarinerDocumentType right)
Parameters
Type | Name | Description |
---|---|---|
MMerchantMarinerDocumentType | left | |
MMerchantMarinerDocumentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MMerchantMarinerDocumentType, MMerchantMarinerDocumentType)
Declaration
public static bool operator !=(MMerchantMarinerDocumentType left, MMerchantMarinerDocumentType right)
Parameters
Type | Name | Description |
---|---|---|
MMerchantMarinerDocumentType | left | |
MMerchantMarinerDocumentType | right |
Returns
Type | Description |
---|---|
System.Boolean |