All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tools20022.repository.msg.GroupHeader60 Maven / Gradle / Ivy

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.area.camt.NotificationToReceiveStatusReportV05;
import com.tools20022.repository.choice.Party12Choice;
import com.tools20022.repository.datatype.ISODateTime;
import com.tools20022.repository.datatype.Max35Text;
import com.tools20022.repository.entity.Payment;
import com.tools20022.repository.entity.PaymentExecution;
import com.tools20022.repository.entity.PaymentIdentification;
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 further details on the message.
 * 

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMMessageElementContainer#getMessageElement * messageElement} = *
      *
    • * {@linkplain com.tools20022.repository.msg.GroupHeader60#mmMessageIdentification * GroupHeader60.mmMessageIdentification}
    • *
    • * {@linkplain com.tools20022.repository.msg.GroupHeader60#mmCreationDateTime * GroupHeader60.mmCreationDateTime}
    • *
    • * {@linkplain com.tools20022.repository.msg.GroupHeader60#mmMessageRecipient * GroupHeader60.mmMessageRecipient}
    • *
    *
  • *
  • {@linkplain com.tools20022.metamodel.MMMessageComponentType#getTrace * trace} = {@linkplain com.tools20022.repository.entity.Payment Payment}
  • *
  • * {@linkplain com.tools20022.metamodel.MMMessageComponentType#getMessageBuildingBlock * messageBuildingBlock} = *
      *
    • * {@linkplain com.tools20022.repository.area.camt.NotificationToReceiveStatusReportV05#mmGroupHeader * NotificationToReceiveStatusReportV05.mmGroupHeader}
    • *
    *
  • *
  • * {@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} = * "GroupHeader60"
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Provides further details on the message."
  • *
*/ @XmlAccessorType(XmlAccessType.PROPERTY) @XmlType(name = "GroupHeader60", propOrder = {"messageIdentification", "creationDateTime", "messageRecipient"}) public class GroupHeader60 { final static private AtomicReference mmObject_lazy = new AtomicReference<>(); protected Max35Text messageIdentification; /** * Point to point reference, as assigned by the account servicing * institution, and sent to the account owner or the party authorised to * receive the message, to unambiguously identify the message. * * Usage: The account servicing institution has to make sure that * 'MessageIdentification' is unique per account owner for a pre-agreed * period. *

* 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.PaymentIdentification#mmExecutionIdentification * PaymentIdentification.mmExecutionIdentification}
  • *
  • * {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext * componentContext} = * {@linkplain com.tools20022.repository.msg.GroupHeader60 GroupHeader60}
  • *
  • {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag * xmlTag} = "MsgId"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "MessageIdentification"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Point to point reference, as assigned by the account servicing institution, and sent to the account owner or the party authorised to receive the message, to unambiguously identify the message.\n\nUsage: The account servicing institution has to make sure that 'MessageIdentification' is unique per account owner for a pre-agreed period." *
  • *
*/ public static final MMMessageAttribute mmMessageIdentification = new MMMessageAttribute() { { businessElementTrace_lazy = () -> PaymentIdentification.mmExecutionIdentification; componentContext_lazy = () -> GroupHeader60.mmObject(); isDerived = false; xmlTag = "MsgId"; registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED; name = "MessageIdentification"; definition = "Point to point reference, as assigned by the account servicing institution, and sent to the account owner or the party authorised to receive the message, to unambiguously identify the message.\n\nUsage: The account servicing institution has to make sure that 'MessageIdentification' is unique per account owner for a pre-agreed period."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> Max35Text.mmObject(); } }; protected ISODateTime creationDateTime; /** * Date and time at which the message was created. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMMessageAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.ISODateTime * ISODateTime}
  • *
  • * {@linkplain com.tools20022.metamodel.MMMessageElement#getBusinessElementTrace * businessElementTrace} = * {@linkplain com.tools20022.repository.entity.PaymentExecution#mmCreationDate * PaymentExecution.mmCreationDate}
  • *
  • * {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext * componentContext} = * {@linkplain com.tools20022.repository.msg.GroupHeader60 GroupHeader60}
  • *
  • {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag * xmlTag} = "CreDtTm"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "CreationDateTime"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Date and time at which the message was created."
  • *
*/ public static final MMMessageAttribute mmCreationDateTime = new MMMessageAttribute() { { businessElementTrace_lazy = () -> PaymentExecution.mmCreationDate; componentContext_lazy = () -> GroupHeader60.mmObject(); isDerived = false; xmlTag = "CreDtTm"; registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED; name = "CreationDateTime"; definition = "Date and time at which the message was created."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> ISODateTime.mmObject(); } }; protected Party12Choice messageRecipient; /** * Identification of the party that is receiving the message, when different * from the account owner. *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMMessageAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.choice.Party12Choice * Party12Choice}
  • *
  • * {@linkplain com.tools20022.metamodel.MMMessageElement#getComponentContext * componentContext} = * {@linkplain com.tools20022.repository.msg.GroupHeader60 GroupHeader60}
  • *
  • {@linkplain com.tools20022.metamodel.MMMessageConstruct#getXmlTag * xmlTag} = "MsgRcpt"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.PROVISIONALLY_REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "MessageRecipient"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Identification of the party that is receiving the message, when different from the account owner." *
  • *
*/ public static final MMMessageAssociationEnd mmMessageRecipient = new MMMessageAssociationEnd() { { componentContext_lazy = () -> GroupHeader60.mmObject(); isDerived = false; xmlTag = "MsgRcpt"; registrationStatus = MMRegistrationStatus.PROVISIONALLY_REGISTERED; name = "MessageRecipient"; definition = "Identification of the party that is receiving the message, when different from the account owner."; maxOccurs = 1; minOccurs = 0; isComposite = true; type_lazy = () -> Party12Choice.mmObject(); } }; final static public MMMessageComponent mmObject() { mmObject_lazy.compareAndSet(null, new MMMessageComponent() { { messageElement_lazy = () -> Arrays.asList(GroupHeader60.mmMessageIdentification, GroupHeader60.mmCreationDateTime, GroupHeader60.mmMessageRecipient); messageBuildingBlock_lazy = () -> Arrays.asList(NotificationToReceiveStatusReportV05.mmGroupHeader); trace_lazy = () -> Payment.mmObject(); dataDictionary_lazy = () -> GeneratedRepository.mmdataDict; registrationStatus = MMRegistrationStatus.REGISTERED; name = "GroupHeader60"; definition = "Provides further details on the message."; } }); return mmObject_lazy.get(); } @XmlElement(name = "MsgId", required = true) public Max35Text getMessageIdentification() { return messageIdentification; } public void setMessageIdentification(Max35Text messageIdentification) { this.messageIdentification = messageIdentification; } @XmlElement(name = "CreDtTm", required = true) public ISODateTime getCreationDateTime() { return creationDateTime; } public void setCreationDateTime(ISODateTime creationDateTime) { this.creationDateTime = creationDateTime; } @XmlElement(name = "MsgRcpt") public Party12Choice getMessageRecipient() { return messageRecipient; } public void setMessageRecipient(Party12Choice messageRecipient) { this.messageRecipient = messageRecipient; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy