com.tools20022.repository.msg.ProprietaryAgent3 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
/* 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.Max35Text;
import com.tools20022.repository.entity.OrganisationIdentification;
import com.tools20022.repository.GeneratedRepository;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Identifies a proprietary party.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement
* messageElement} =
*
* - {@linkplain com.tools20022.repository.msg.ProprietaryAgent3#mmType
* ProprietaryAgent3.mmType}
* - {@linkplain com.tools20022.repository.msg.ProprietaryAgent3#mmAgent
* ProprietaryAgent3.mmAgent}
*
*
* - {@linkplain com.tools20022.metamodel.MMMessageComponentType#getTrace
* trace} =
* {@linkplain com.tools20022.repository.entity.OrganisationIdentification
* OrganisationIdentification}
* -
* {@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} =
* "ProprietaryAgent3"
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Identifies a proprietary party."
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "ProprietaryAgent3", propOrder = {"type", "agent"})
public class ProprietaryAgent3 {
final static private AtomicReference mmObject_lazy = new AtomicReference<>();
protected Max35Text type;
/**
* Specifies the type of proprietary agent.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} = {@linkplain com.tools20022.repository.datatype.Max35Text
* Max35Text}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.ProprietaryAgent3
* ProprietaryAgent3}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Tp"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Type"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Specifies the type of proprietary agent."
*
*/
public static final MMMessageAttribute mmType = new MMMessageAttribute() {
{
componentContext_lazy = () -> ProprietaryAgent3.mmObject();
isDerived = false;
xmlTag = "Tp";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Type";
definition = "Specifies the type of proprietary agent.";
maxOccurs = 1;
minOccurs = 1;
simpleType_lazy = () -> Max35Text.mmObject();
}
};
protected BranchAndFinancialInstitutionIdentification5 agent;
/**
* Organisation established primarily to provide financial services.
*
* Constant fields:
*
* - {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType
* type} =
* {@linkplain com.tools20022.repository.msg.BranchAndFinancialInstitutionIdentification5
* BranchAndFinancialInstitutionIdentification5}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessComponentTrace
* businessComponentTrace} =
* {@linkplain com.tools20022.repository.entity.OrganisationIdentification
* OrganisationIdentification}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.ProprietaryAgent3
* ProprietaryAgent3}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Agt"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Agent"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Organisation established primarily to provide financial services."
*
*/
public static final MMMessageAssociationEnd mmAgent = new MMMessageAssociationEnd() {
{
businessComponentTrace_lazy = () -> OrganisationIdentification.mmObject();
componentContext_lazy = () -> ProprietaryAgent3.mmObject();
isDerived = false;
xmlTag = "Agt";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Agent";
definition = "Organisation established primarily to provide financial services.";
maxOccurs = 1;
minOccurs = 1;
isComposite = true;
type_lazy = () -> com.tools20022.repository.msg.BranchAndFinancialInstitutionIdentification5.mmObject();
}
};
final static public MMMessageComponent mmObject() {
mmObject_lazy.compareAndSet(null, new MMMessageComponent() {
{
messageElement_lazy = () -> Arrays.asList(ProprietaryAgent3.mmType, ProprietaryAgent3.mmAgent);
trace_lazy = () -> OrganisationIdentification.mmObject();
dataDictionary_lazy = () -> GeneratedRepository.mmdataDict;
registrationStatus = MMRegistrationStatus.REGISTERED;
name = "ProprietaryAgent3";
definition = "Identifies a proprietary party.";
}
});
return mmObject_lazy.get();
}
@XmlElement(name = "Tp", required = true)
public Max35Text getType() {
return type;
}
public void setType(Max35Text type) {
this.type = type;
}
@XmlElement(name = "Agt", required = true)
public BranchAndFinancialInstitutionIdentification5 getAgent() {
return agent;
}
public void setAgent(com.tools20022.repository.msg.BranchAndFinancialInstitutionIdentification5 agent) {
this.agent = agent;
}
}