com.tools20022.repository.msg.SecurityIdentification19 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.MMMessageAssociationEnd;
import com.tools20022.metamodel.MMMessageAttribute;
import com.tools20022.metamodel.MMMessageComponent;
import com.tools20022.metamodel.MMRegistrationStatus;
import com.tools20022.repository.datatype.ISINOct2015Identifier;
import com.tools20022.repository.datatype.Max140Text;
import com.tools20022.repository.entity.SecuritiesIdentification;
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;
/**
* Identification of a security.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement
* messageElement} =
*
* -
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19#mmISIN
* SecurityIdentification19.mmISIN}
* -
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19#mmOtherIdentification
* SecurityIdentification19.mmOtherIdentification}
* -
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19#mmDescription
* SecurityIdentification19.mmDescription}
*
*
* - {@linkplain com.tools20022.metamodel.MMMessageComponentType#getTrace
* trace} =
* {@linkplain com.tools20022.repository.entity.SecuritiesIdentification
* SecuritiesIdentification}
* -
* {@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} =
* "SecurityIdentification19"
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Identification of a security."
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "SecurityIdentification19", propOrder = {"ISIN", "otherIdentification", "description"})
public class SecurityIdentification19 {
final static private AtomicReference mmObject_lazy = new AtomicReference<>();
protected ISINOct2015Identifier iSIN;
/**
* International Securities Identification Number (ISIN). A numbering system
* designed by the United Nation's International Organisation for
* Standardisation (ISO). The ISIN is composed of a 2-character prefix
* representing the country of issue, followed by the national security
* number (if one exists), and a check digit. Each country has a national
* numbering agency that assigns ISIN numbers for securities in that
* country.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} =
* {@linkplain com.tools20022.repository.datatype.ISINOct2015Identifier
* ISINOct2015Identifier}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace
* businessElementTrace} =
* {@linkplain com.tools20022.repository.entity.SecuritiesIdentification#mmSecurityIdentification
* SecuritiesIdentification.mmSecurityIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19
* SecurityIdentification19}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "ISIN"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "ISIN"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "International Securities Identification Number (ISIN). A numbering system designed by the United Nation's International Organisation for Standardisation (ISO). The ISIN is composed of a 2-character prefix representing the country of issue, followed by the national security number (if one exists), and a check digit. Each country has a national numbering agency that assigns ISIN numbers for securities in that country."
*
*
*/
public static final MMMessageAttribute mmISIN = new MMMessageAttribute() {
{
businessElementTrace_lazy = () -> SecuritiesIdentification.mmSecurityIdentification;
componentContext_lazy = () -> SecurityIdentification19.mmObject();
isDerived = false;
xmlTag = "ISIN";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "ISIN";
definition = "International Securities Identification Number (ISIN). A numbering system designed by the United Nation's International Organisation for Standardisation (ISO). The ISIN is composed of a 2-character prefix representing the country of issue, followed by the national security number (if one exists), and a check digit. Each country has a national numbering agency that assigns ISIN numbers for securities in that country.";
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> ISINOct2015Identifier.mmObject();
}
};
protected List otherIdentification;
/**
* Identification of a security by proprietary or domestic identification
* scheme.
*
* Constant fields:
*
* - {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType
* type} = {@linkplain com.tools20022.repository.msg.OtherIdentification1
* OtherIdentification1}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessComponentTrace
* businessComponentTrace} =
* {@linkplain com.tools20022.repository.entity.SecuritiesIdentification
* SecuritiesIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19
* SecurityIdentification19}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "OthrId"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "OtherIdentification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identification of a security by proprietary or domestic identification scheme."
*
*
*/
public static final MMMessageAssociationEnd mmOtherIdentification = new MMMessageAssociationEnd() {
{
businessComponentTrace_lazy = () -> SecuritiesIdentification.mmObject();
componentContext_lazy = () -> SecurityIdentification19.mmObject();
isDerived = false;
xmlTag = "OthrId";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "OtherIdentification";
definition = "Identification of a security by proprietary or domestic identification scheme.";
minOccurs = 0;
isComposite = true;
type_lazy = () -> com.tools20022.repository.msg.OtherIdentification1.mmObject();
}
};
protected Max140Text description;
/**
* Textual description of a security instrument.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max140Text
* Max140Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessComponentTrace
* businessComponentTrace} =
* {@linkplain com.tools20022.repository.entity.SecuritiesIdentification
* SecuritiesIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.SecurityIdentification19
* SecurityIdentification19}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Desc"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Description"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Textual description of a security instrument."
*
*/
public static final MMMessageAttribute mmDescription = new MMMessageAttribute() {
{
businessComponentTrace_lazy = () -> SecuritiesIdentification.mmObject();
componentContext_lazy = () -> SecurityIdentification19.mmObject();
isDerived = false;
xmlTag = "Desc";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Description";
definition = "Textual description of a security instrument.";
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Max140Text.mmObject();
}
};
final static public MMMessageComponent mmObject() {
mmObject_lazy.compareAndSet(null, new MMMessageComponent() {
{
messageElement_lazy = () -> Arrays.asList(SecurityIdentification19.mmISIN, SecurityIdentification19.mmOtherIdentification, SecurityIdentification19.mmDescription);
trace_lazy = () -> SecuritiesIdentification.mmObject();
dataDictionary_lazy = () -> GeneratedRepository.mmdataDict;
registrationStatus = MMRegistrationStatus.REGISTERED;
name = "SecurityIdentification19";
definition = "Identification of a security.";
}
});
return mmObject_lazy.get();
}
@XmlElement(name = "ISIN")
public ISINOct2015Identifier getISIN() {
return iSIN;
}
public void setISIN(ISINOct2015Identifier iSIN) {
this.iSIN = iSIN;
}
@XmlElement(name = "OthrId")
public List getOtherIdentification() {
return otherIdentification;
}
public void setOtherIdentification(List otherIdentification) {
this.otherIdentification = otherIdentification;
}
@XmlElement(name = "Desc")
public Max140Text getDescription() {
return description;
}
public void setDescription(Max140Text description) {
this.description = description;
}
}