com.tools20022.repository.msg.PostalAddress6 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tools20022-api-payments Show documentation
Show all versions of tools20022-api-payments Show documentation
Java API for ISO 20022 - Payments business domain
The newest version!
/* Tools20022 - API for ISO 20022
* Copyright (C) 2017 Tools20022.com - László Bukodi
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package com.tools20022.repository.msg;
import com.tools20022.metamodel.MMMessageAttribute;
import com.tools20022.metamodel.MMMessageComponent;
import com.tools20022.metamodel.MMRegistrationStatus;
import com.tools20022.repository.codeset.AddressType2Code;
import com.tools20022.repository.codeset.CountryCode;
import com.tools20022.repository.datatype.Max16Text;
import com.tools20022.repository.datatype.Max35Text;
import com.tools20022.repository.datatype.Max70Text;
import com.tools20022.repository.entity.Country;
import com.tools20022.repository.entity.PostalAddress;
import com.tools20022.repository.GeneratedRepository;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Information that locates and identifies a specific address, as defined by
* postal services.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement
* messageElement} =
*
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmAddressType
* PostalAddress6.mmAddressType}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmDepartment
* PostalAddress6.mmDepartment}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmSubDepartment
* PostalAddress6.mmSubDepartment}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmStreetName
* PostalAddress6.mmStreetName}
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress6#mmBuildingNumber
* PostalAddress6.mmBuildingNumber}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmPostCode
* PostalAddress6.mmPostCode}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmTownName
* PostalAddress6.mmTownName}
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress6#mmCountrySubDivision
* PostalAddress6.mmCountrySubDivision}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmCountry
* PostalAddress6.mmCountry}
* - {@linkplain com.tools20022.repository.msg.PostalAddress6#mmAddressLine
* PostalAddress6.mmAddressLine}
*
*
* - {@linkplain com.tools20022.metamodel.MMMessageComponentType#getTrace
* trace} = {@linkplain com.tools20022.repository.entity.PostalAddress
* PostalAddress}
* -
* {@linkplain com.tools20022.metamodel.MMTopLevelDictionaryEntry#getDataDictionary
* dataDictionary} =
* {@linkplain com.tools20022.repository.GeneratedRepository#mmdataDict
* GeneratedRepository.mmdataDict}
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName name} =
* "PostalAddress6"
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Information that locates and identifies a specific address, as defined by postal services."
*
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* - {@linkplain com.tools20022.repository.msg.PostalAddress19
* PostalAddress19}
*
*
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "PostalAddress6", propOrder = {"addressType", "department", "subDepartment", "streetName", "buildingNumber", "postCode", "townName", "countrySubDivision", "country", "addressLine"})
public class PostalAddress6 {
final static private AtomicReference mmObject_lazy = new AtomicReference<>();
protected AddressType2Code addressType;
/**
* Identifies the nature of the postal address.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} =
* {@linkplain com.tools20022.repository.codeset.AddressType2Code
* AddressType2Code}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmAddressType
* PostalAddress.mmAddressType}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "AdrTp"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "AddressType"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Identifies the nature of the postal address."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmAddressType
* PostalAddress19.mmAddressType}
*
*
*
*/
public static final MMMessageAttribute mmAddressType = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmAddressType;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "AdrTp";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "AddressType";
definition = "Identifies the nature of the postal address.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmAddressType);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> AddressType2Code.mmObject();
}
};
protected Max70Text department;
/**
* Identification of a division of a large organisation or building.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max70Text
* Max70Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmDepartment
* PostalAddress.mmDepartment}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Dept"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Department"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identification of a division of a large organisation or building."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmDepartment
* PostalAddress19.mmDepartment}
*
*
*
*/
public static final MMMessageAttribute mmDepartment = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmDepartment;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "Dept";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Department";
definition = "Identification of a division of a large organisation or building.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmDepartment);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max70Text.mmObject();
}
};
protected Max70Text subDepartment;
/**
* Identification of a sub-division of a large organisation or building.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max70Text
* Max70Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmSubDepartment
* PostalAddress.mmSubDepartment}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "SubDept"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "SubDepartment"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identification of a sub-division of a large organisation or building."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmSubDepartment
* PostalAddress19.mmSubDepartment}
*
*
*
*/
public static final MMMessageAttribute mmSubDepartment = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmSubDepartment;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "SubDept";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "SubDepartment";
definition = "Identification of a sub-division of a large organisation or building.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmSubDepartment);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max70Text.mmObject();
}
};
protected Max70Text streetName;
/**
* Name of a street or thoroughfare.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max70Text
* Max70Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmStreetName
* PostalAddress.mmStreetName}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "StrtNm"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "StreetName"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Name of a street or thoroughfare."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmStreetName
* PostalAddress19.mmStreetName}
*
*
*
*/
public static final MMMessageAttribute mmStreetName = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmStreetName;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "StrtNm";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "StreetName";
definition = "Name of a street or thoroughfare.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmStreetName);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max70Text.mmObject();
}
};
protected Max16Text buildingNumber;
/**
* Number that identifies the position of a building on a street.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max16Text
* Max16Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmStreetBuildingIdentification
* PostalAddress.mmStreetBuildingIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "BldgNb"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "BuildingNumber"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Number that identifies the position of a building on a street."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmBuildingNumber
* PostalAddress19.mmBuildingNumber}
*
*
*
*/
public static final MMMessageAttribute mmBuildingNumber = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmStreetBuildingIdentification;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "BldgNb";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "BuildingNumber";
definition = "Number that identifies the position of a building on a street.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmBuildingNumber);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max16Text.mmObject();
}
};
protected Max16Text postCode;
/**
* Identifier consisting of a group of letters and/or numbers that is added
* to a postal address to assist the sorting of mail.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max16Text
* Max16Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmPostCodeIdentification
* PostalAddress.mmPostCodeIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "PstCd"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "PostCode"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail."
*
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* - {@linkplain com.tools20022.repository.msg.PostalAddress19#mmPostCode
* PostalAddress19.mmPostCode}
*
*
*
*/
public static final MMMessageAttribute mmPostCode = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmPostCodeIdentification;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "PstCd";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "PostCode";
definition = "Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmPostCode);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max16Text.mmObject();
}
};
protected Max35Text townName;
/**
* Name of a built-up area, with defined boundaries, and a local government.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max35Text
* Max35Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmTownName
* PostalAddress.mmTownName}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "TwnNm"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "TownName"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Name of a built-up area, with defined boundaries, and a local government."
*
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* - {@linkplain com.tools20022.repository.msg.PostalAddress19#mmTownName
* PostalAddress19.mmTownName}
*
*
*
*/
public static final MMMessageAttribute mmTownName = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmTownName;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "TwnNm";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "TownName";
definition = "Name of a built-up area, with defined boundaries, and a local government.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmTownName);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max35Text.mmObject();
}
};
protected Max35Text countrySubDivision;
/**
* Identifies a subdivision of a country such as state, region, county.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max35Text
* Max35Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.PostalAddress#mmState
* PostalAddress.mmState}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "CtrySubDvsn"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "CountrySubDivision"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identifies a subdivision of a country such as state, region, county."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmCountrySubDivision
* PostalAddress19.mmCountrySubDivision}
*
*
*
*/
public static final MMMessageAttribute mmCountrySubDivision = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> PostalAddress.mmState;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "CtrySubDvsn";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "CountrySubDivision";
definition = "Identifies a subdivision of a country such as state, region, county.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmCountrySubDivision);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max35Text.mmObject();
}
};
protected CountryCode country;
/**
* Nation with its own government.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.codeset.CountryCode
* CountryCode}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.Country#mmCode
* Country.mmCode}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Ctry"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Country"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Nation with its own government."
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* - {@linkplain com.tools20022.repository.msg.PostalAddress19#mmCountry
* PostalAddress19.mmCountry}
*
*
*
*/
public static final MMMessageAttribute mmCountry = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> Country.mmCode;
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "Ctry";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Country";
definition = "Nation with its own government.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmCountry);
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> CountryCode.mmObject();
}
};
protected List addressLine;
/**
* Information that locates and identifies a specific address, as defined by
* postal services, presented in free format text.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max70Text
* Max70Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PostalAddress6 PostalAddress6}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "AdrLine"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "AddressLine"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Information that locates and identifies a specific address, as defined by postal services, presented in free format text."
*
* - {@linkplain com.tools20022.metamodel.MMModelEntity#getNextVersions
* nextVersions} =
*
* -
* {@linkplain com.tools20022.repository.msg.PostalAddress19#mmAddressLine
* PostalAddress19.mmAddressLine}
*
*
*
*/
public static final MMMessageAttribute mmAddressLine = new MMMessageAttribute() {
{
componentContext_lazy = () -> PostalAddress6.mmObject();
isDerived = false;
xmlTag = "AdrLine";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "AddressLine";
definition = "Information that locates and identifies a specific address, as defined by postal services, presented in free format text.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmAddressLine);
maxOccurs = 7;
minOccurs = 0;
simpleType_lazy = () -> Max70Text.mmObject();
}
};
final static public MMMessageComponent mmObject() {
mmObject_lazy.compareAndSet(null, new MMMessageComponent() {
{
messageElement_lazy = () -> Arrays.asList(PostalAddress6.mmAddressType, PostalAddress6.mmDepartment, PostalAddress6.mmSubDepartment, PostalAddress6.mmStreetName, PostalAddress6.mmBuildingNumber, PostalAddress6.mmPostCode,
PostalAddress6.mmTownName, PostalAddress6.mmCountrySubDivision, PostalAddress6.mmCountry, PostalAddress6.mmAddressLine);
trace_lazy = () -> PostalAddress.mmObject();
dataDictionary_lazy = () -> GeneratedRepository.mmdataDict;
registrationStatus = MMRegistrationStatus.REGISTERED;
name = "PostalAddress6";
definition = "Information that locates and identifies a specific address, as defined by postal services.";
nextVersions_lazy = () -> Arrays.asList(PostalAddress19.mmObject());
}
});
return mmObject_lazy.get();
}
@XmlElement(name = "AdrTp")
public AddressType2Code getAddressType() {
return addressType;
}
public void setAddressType(AddressType2Code addressType) {
this.addressType = addressType;
}
@XmlElement(name = "Dept")
public Max70Text getDepartment() {
return department;
}
public void setDepartment(Max70Text department) {
this.department = department;
}
@XmlElement(name = "SubDept")
public Max70Text getSubDepartment() {
return subDepartment;
}
public void setSubDepartment(Max70Text subDepartment) {
this.subDepartment = subDepartment;
}
@XmlElement(name = "StrtNm")
public Max70Text getStreetName() {
return streetName;
}
public void setStreetName(Max70Text streetName) {
this.streetName = streetName;
}
@XmlElement(name = "BldgNb")
public Max16Text getBuildingNumber() {
return buildingNumber;
}
public void setBuildingNumber(Max16Text buildingNumber) {
this.buildingNumber = buildingNumber;
}
@XmlElement(name = "PstCd")
public Max16Text getPostCode() {
return postCode;
}
public void setPostCode(Max16Text postCode) {
this.postCode = postCode;
}
@XmlElement(name = "TwnNm")
public Max35Text getTownName() {
return townName;
}
public void setTownName(Max35Text townName) {
this.townName = townName;
}
@XmlElement(name = "CtrySubDvsn")
public Max35Text getCountrySubDivision() {
return countrySubDivision;
}
public void setCountrySubDivision(Max35Text countrySubDivision) {
this.countrySubDivision = countrySubDivision;
}
@XmlElement(name = "Ctry")
public CountryCode getCountry() {
return country;
}
public void setCountry(CountryCode country) {
this.country = country;
}
@XmlElement(name = "AdrLine")
public List getAddressLine() {
return addressLine;
}
public void setAddressLine(List addressLine) {
this.addressLine = addressLine;
}
}