com.tools20022.repository.msg.PartyModification1 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.Modification1Code;
import com.tools20022.repository.entity.PartyIdentificationInformation;
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;
/**
* Specifies the type of change to party.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement
* messageElement} =
*
* -
* {@linkplain com.tools20022.repository.msg.PartyModification1#mmModificationCode
* PartyModification1.mmModificationCode}
* -
* {@linkplain com.tools20022.repository.msg.PartyModification1#mmPartyIdentification
* PartyModification1.mmPartyIdentification}
*
*
* - {@linkplain com.tools20022.metamodel.MMMessageComponentType#getTrace
* trace} =
* {@linkplain com.tools20022.repository.entity.PartyIdentificationInformation
* PartyIdentificationInformation}
* -
* {@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} =
* "PartyModification1"
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Specifies the type of change to party."
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "PartyModification1", propOrder = {"modificationCode", "partyIdentification"})
public class PartyModification1 {
final static private AtomicReference mmObject_lazy = new AtomicReference<>();
protected Modification1Code modificationCode;
/**
* Specifies the type of change.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} =
* {@linkplain com.tools20022.repository.codeset.Modification1Code
* Modification1Code}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PartyModification1
* PartyModification1}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "ModCd"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "ModificationCode"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Specifies the type of change."
*
*/
public static final MMMessageAttribute mmModificationCode = new MMMessageAttribute() {
{
componentContext_lazy = () -> PartyModification1.mmObject();
isDerived = false;
xmlTag = "ModCd";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "ModificationCode";
definition = "Specifies the type of change.";
maxOccurs = 1;
minOccurs = 0;
simpleType_lazy = () -> Modification1Code.mmObject();
}
};
protected PartyIdentification40 partyIdentification;
/**
* Identification of the party.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getComplexType
* complexType} =
* {@linkplain com.tools20022.repository.msg.PartyIdentification40
* PartyIdentification40}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessComponentTrace
* businessComponentTrace} =
* {@linkplain com.tools20022.repository.entity.PartyIdentificationInformation
* PartyIdentificationInformation}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.PartyModification1
* PartyModification1}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "PtyId"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "PartyIdentification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Identification of the party."
*
*/
public static final MMMessageAttribute mmPartyIdentification = new MMMessageAttribute() {
{
businessComponentTrace_lazy = () -> PartyIdentificationInformation.mmObject();
componentContext_lazy = () -> PartyModification1.mmObject();
isDerived = false;
xmlTag = "PtyId";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "PartyIdentification";
definition = "Identification of the party.";
maxOccurs = 1;
minOccurs = 1;
complexType_lazy = () -> com.tools20022.repository.msg.PartyIdentification40.mmObject();
}
};
final static public MMMessageComponent mmObject() {
mmObject_lazy.compareAndSet(null, new MMMessageComponent() {
{
messageElement_lazy = () -> Arrays.asList(PartyModification1.mmModificationCode, PartyModification1.mmPartyIdentification);
trace_lazy = () -> PartyIdentificationInformation.mmObject();
dataDictionary_lazy = () -> GeneratedRepository.mmdataDict;
registrationStatus = MMRegistrationStatus.REGISTERED;
name = "PartyModification1";
definition = "Specifies the type of change to party.";
}
});
return mmObject_lazy.get();
}
@XmlElement(name = "ModCd")
public Modification1Code getModificationCode() {
return modificationCode;
}
public void setModificationCode(Modification1Code modificationCode) {
this.modificationCode = modificationCode;
}
@XmlElement(name = "PtyId", required = true)
public PartyIdentification40 getPartyIdentification() {
return partyIdentification;
}
public void setPartyIdentification(com.tools20022.repository.msg.PartyIdentification40 partyIdentification) {
this.partyIdentification = partyIdentification;
}
}