com.tools20022.repository.msg.VerificationReport2 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.area.acmt.IdentificationVerificationReportV02;
import com.tools20022.repository.choice.VerificationReason1Choice;
import com.tools20022.repository.datatype.IdentificationVerificationIndicator;
import com.tools20022.repository.datatype.Max35Text;
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;
/**
* Provides the details of the verification of identification data for which
* verification was requested.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement
* messageElement} =
*
* -
* {@linkplain com.tools20022.repository.msg.VerificationReport2#mmOriginalIdentification
* VerificationReport2.mmOriginalIdentification}
* -
* {@linkplain com.tools20022.repository.msg.VerificationReport2#mmVerification
* VerificationReport2.mmVerification}
* - {@linkplain com.tools20022.repository.msg.VerificationReport2#mmReason
* VerificationReport2.mmReason}
* -
* {@linkplain com.tools20022.repository.msg.VerificationReport2#mmOriginalPartyAndAccountIdentification
* VerificationReport2.mmOriginalPartyAndAccountIdentification}
* -
* {@linkplain com.tools20022.repository.msg.VerificationReport2#mmUpdatedPartyAndAccountIdentification
* VerificationReport2.mmUpdatedPartyAndAccountIdentification}
*
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageComponentType#getMessageBuildingBlock
* messageBuildingBlock} =
*
* -
* {@linkplain com.tools20022.repository.area.acmt.IdentificationVerificationReportV02#mmReport
* IdentificationVerificationReportV02.mmReport}
*
*
* -
* {@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} =
* "VerificationReport2"
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Provides the details of the verification of identification data for which verification was requested."
*
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(name = "VerificationReport2", propOrder = {"originalIdentification", "verification", "reason", "originalPartyAndAccountIdentification", "updatedPartyAndAccountIdentification"})
public class VerificationReport2 {
final static private AtomicReference mmObject_lazy = new AtomicReference<>();
protected Max35Text originalIdentification;
/**
* Unique identification, as assigned by a sending party, to unambiguously
* identify the party and account identification information group within
* the original message.
*
* 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.VerificationReport2
* VerificationReport2}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "OrgnlId"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "OriginalIdentification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Unique identification, as assigned by a sending party, to unambiguously identify the party and account identification information group within the original message."
*
*
*/
public static final MMMessageAttribute mmOriginalIdentification = new MMMessageAttribute() {
{
componentContext_lazy = () -> VerificationReport2.mmObject();
isDerived = false;
xmlTag = "OrgnlId";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "OriginalIdentification";
definition = "Unique identification, as assigned by a sending party, to unambiguously identify the party and account identification information group within the original message.";
maxOccurs = 1;
minOccurs = 1;
simpleType_lazy = () -> Max35Text.mmObject();
}
};
protected IdentificationVerificationIndicator verification;
/**
* Identifies whether the party and/or account information received is
* correct.
*
* Constant fields:
*
* -
* {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType
* simpleType} =
* {@linkplain com.tools20022.repository.datatype.IdentificationVerificationIndicator
* IdentificationVerificationIndicator}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.VerificationReport2
* VerificationReport2}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Vrfctn"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Verification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Identifies whether the party and/or account information received is correct."
*
*
*/
public static final MMMessageAttribute mmVerification = new MMMessageAttribute() {
{
componentContext_lazy = () -> VerificationReport2.mmObject();
isDerived = false;
xmlTag = "Vrfctn";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Verification";
definition = "Identifies whether the party and/or account information received is correct.";
maxOccurs = 1;
minOccurs = 1;
simpleType_lazy = () -> IdentificationVerificationIndicator.mmObject();
}
};
protected VerificationReason1Choice reason;
/**
* Specifies the reason why the verified identification information is
* incorrect.
*
* Constant fields:
*
* - {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType
* type} =
* {@linkplain com.tools20022.repository.choice.VerificationReason1Choice
* VerificationReason1Choice}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.VerificationReport2
* VerificationReport2}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "Rsn"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "Reason"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Specifies the reason why the verified identification information is incorrect."
*
*
*/
public static final MMMessageAssociationEnd mmReason = new MMMessageAssociationEnd() {
{
componentContext_lazy = () -> VerificationReport2.mmObject();
isDerived = false;
xmlTag = "Rsn";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "Reason";
definition = "Specifies the reason why the verified identification information is incorrect.";
maxOccurs = 1;
minOccurs = 0;
isComposite = true;
type_lazy = () -> VerificationReason1Choice.mmObject();
}
};
protected IdentificationInformation2 originalPartyAndAccountIdentification;
/**
* Provides party and/or account identification information as given in the
* original message.
*
* Constant fields:
*
* - {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType
* type} =
* {@linkplain com.tools20022.repository.msg.IdentificationInformation2
* IdentificationInformation2}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.VerificationReport2
* VerificationReport2}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "OrgnlPtyAndAcctId"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "OriginalPartyAndAccountIdentification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} =
* "Provides party and/or account identification information as given in the original message."
*
*
*/
public static final MMMessageAssociationEnd mmOriginalPartyAndAccountIdentification = new MMMessageAssociationEnd() {
{
componentContext_lazy = () -> VerificationReport2.mmObject();
isDerived = false;
xmlTag = "OrgnlPtyAndAcctId";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "OriginalPartyAndAccountIdentification";
definition = "Provides party and/or account identification information as given in the original message.";
maxOccurs = 1;
minOccurs = 0;
isComposite = true;
type_lazy = () -> com.tools20022.repository.msg.IdentificationInformation2.mmObject();
}
};
protected IdentificationInformation2 updatedPartyAndAccountIdentification;
/**
* Provides party and/or account identification information.
*
* Constant fields:
*
* - {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType
* type} =
* {@linkplain com.tools20022.repository.msg.IdentificationInformation2
* IdentificationInformation2}
* -
* {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext
* componentContext} =
* {@linkplain com.tools20022.repository.msg.VerificationReport2
* VerificationReport2}
* - {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag
* xmlTag} = "UpdtdPtyAndAcctId"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus
* registrationStatus} =
* com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
* - {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName
* name} = "UpdatedPartyAndAccountIdentification"
* -
* {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition
* definition} = "Provides party and/or account identification information."
*
*
*/
public static final MMMessageAssociationEnd mmUpdatedPartyAndAccountIdentification = new MMMessageAssociationEnd() {
{
componentContext_lazy = () -> VerificationReport2.mmObject();
isDerived = false;
xmlTag = "UpdtdPtyAndAcctId";
registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED;
name = "UpdatedPartyAndAccountIdentification";
definition = "Provides party and/or account identification information.";
maxOccurs = 1;
minOccurs = 0;
isComposite = true;
type_lazy = () -> com.tools20022.repository.msg.IdentificationInformation2.mmObject();
}
};
final static public MMMessageComponent mmObject() {
mmObject_lazy.compareAndSet(null, new MMMessageComponent() {
{
messageElement_lazy = () -> Arrays.asList(VerificationReport2.mmOriginalIdentification, VerificationReport2.mmVerification, VerificationReport2.mmReason, VerificationReport2.mmOriginalPartyAndAccountIdentification,
VerificationReport2.mmUpdatedPartyAndAccountIdentification);
messageBuildingBlock_lazy = () -> Arrays.asList(IdentificationVerificationReportV02.mmReport);
dataDictionary_lazy = () -> GeneratedRepository.mmdataDict;
registrationStatus = MMRegistrationStatus.REGISTERED;
name = "VerificationReport2";
definition = "Provides the details of the verification of identification data for which verification was requested.";
}
});
return mmObject_lazy.get();
}
@XmlElement(name = "OrgnlId", required = true)
public Max35Text getOriginalIdentification() {
return originalIdentification;
}
public void setOriginalIdentification(Max35Text originalIdentification) {
this.originalIdentification = originalIdentification;
}
@XmlElement(name = "Vrfctn", required = true)
public IdentificationVerificationIndicator getVerification() {
return verification;
}
public void setVerification(IdentificationVerificationIndicator verification) {
this.verification = verification;
}
@XmlElement(name = "Rsn")
public VerificationReason1Choice getReason() {
return reason;
}
public void setReason(VerificationReason1Choice reason) {
this.reason = reason;
}
@XmlElement(name = "OrgnlPtyAndAcctId")
public IdentificationInformation2 getOriginalPartyAndAccountIdentification() {
return originalPartyAndAccountIdentification;
}
public void setOriginalPartyAndAccountIdentification(com.tools20022.repository.msg.IdentificationInformation2 originalPartyAndAccountIdentification) {
this.originalPartyAndAccountIdentification = originalPartyAndAccountIdentification;
}
@XmlElement(name = "UpdtdPtyAndAcctId")
public IdentificationInformation2 getUpdatedPartyAndAccountIdentification() {
return updatedPartyAndAccountIdentification;
}
public void setUpdatedPartyAndAccountIdentification(com.tools20022.repository.msg.IdentificationInformation2 updatedPartyAndAccountIdentification) {
this.updatedPartyAndAccountIdentification = updatedPartyAndAccountIdentification;
}
}