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

com.tools20022.repository.entity.PowerOfAttorney 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.entity;

import com.tools20022.metamodel.MMAggregation;
import com.tools20022.metamodel.MMBusinessAssociationEnd;
import com.tools20022.metamodel.MMBusinessComponent;
import com.tools20022.metamodel.MMRegistrationStatus;
import com.tools20022.repository.entity.Mandate;
import com.tools20022.repository.GeneratedRepository;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;

/**
 * Document that transfers specific rights from a party to another party.
 * 

* Class diagram *

* *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMBusinessComponent#getSuperType * superType} = {@linkplain com.tools20022.repository.entity.Mandate Mandate}
  • *
  • {@linkplain com.tools20022.metamodel.MMBusinessComponent#getElement * element} = *
      *
    • * {@linkplain com.tools20022.repository.entity.PowerOfAttorney#mmAuthorisedParty * PowerOfAttorney.mmAuthorisedParty}
    • *
    • * {@linkplain com.tools20022.repository.entity.PowerOfAttorney#mmPowerOfAttorneyRequirements * PowerOfAttorney.mmPowerOfAttorneyRequirements}
    • *
    • * {@linkplain com.tools20022.repository.entity.PowerOfAttorney#mmAuthorisedAccount * PowerOfAttorney.mmAuthorisedAccount}
    • *
    *
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessComponent#getAssociationDomain * associationDomain} = *
      *
    • {@linkplain com.tools20022.repository.entity.Party#mmPowerOfAttorney * Party.mmPowerOfAttorney}
    • *
    • * {@linkplain com.tools20022.repository.entity.SecuritiesAccount#mmRelatedPowerOfAttorney * SecuritiesAccount.mmRelatedPowerOfAttorney}
    • *
    • * {@linkplain com.tools20022.repository.entity.PowerOfAttorneyRequirements#mmPowerOfAttorney * PowerOfAttorneyRequirements.mmPowerOfAttorney}
    • *
    *
  • *
  • * {@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} = * "PowerOfAttorney"
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Document that transfers specific rights from a party to another party."
  • *
*/ public class PowerOfAttorney extends Mandate { final static private AtomicReference mmObject_lazy = new AtomicReference<>(); protected Party authorisedParty; /** * Party which is the holder of the power of attorney. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.Party#mmPowerOfAttorney * Party.mmPowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.entity.Party Party}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.PowerOfAttorney * PowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "AuthorisedParty"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Party which is the holder of the power of attorney."
  • *
*/ public static final MMBusinessAssociationEnd mmAuthorisedParty = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.PowerOfAttorney.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "AuthorisedParty"; definition = "Party which is the holder of the power of attorney."; maxOccurs = 1; minOccurs = 1; opposite_lazy = () -> com.tools20022.repository.entity.Party.mmPowerOfAttorney; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.Party.mmObject(); } }; protected PowerOfAttorneyRequirements powerOfAttorneyRequirements; /** * Describes the requirements relative to the power of attorney. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.PowerOfAttorneyRequirements#mmPowerOfAttorney * PowerOfAttorneyRequirements.mmPowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = * {@linkplain com.tools20022.repository.entity.PowerOfAttorneyRequirements * PowerOfAttorneyRequirements}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.PowerOfAttorney * PowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "PowerOfAttorneyRequirements"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Describes the requirements relative to the power of attorney."
  • *
*/ public static final MMBusinessAssociationEnd mmPowerOfAttorneyRequirements = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.PowerOfAttorney.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "PowerOfAttorneyRequirements"; definition = "Describes the requirements relative to the power of attorney."; maxOccurs = 1; minOccurs = 1; opposite_lazy = () -> com.tools20022.repository.entity.PowerOfAttorneyRequirements.mmPowerOfAttorney; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.PowerOfAttorneyRequirements.mmObject(); } }; protected SecuritiesAccount authorisedAccount; /** * Specifies the securities account on which the power of attorney applies. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.SecuritiesAccount#mmRelatedPowerOfAttorney * SecuritiesAccount.mmRelatedPowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.entity.SecuritiesAccount * SecuritiesAccount}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.PowerOfAttorney * PowerOfAttorney}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "AuthorisedAccount"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Specifies the securities account on which the power of attorney applies." *
  • *
*/ public static final MMBusinessAssociationEnd mmAuthorisedAccount = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.PowerOfAttorney.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "AuthorisedAccount"; definition = "Specifies the securities account on which the power of attorney applies."; maxOccurs = 1; minOccurs = 1; opposite_lazy = () -> com.tools20022.repository.entity.SecuritiesAccount.mmRelatedPowerOfAttorney; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.SecuritiesAccount.mmObject(); } }; static public MMBusinessComponent mmObject() { mmObject_lazy.compareAndSet(null, new MMBusinessComponent() { { dataDictionary_lazy = () -> GeneratedRepository.mmdataDict; registrationStatus = MMRegistrationStatus.REGISTERED; name = "PowerOfAttorney"; definition = "Document that transfers specific rights from a party to another party."; associationDomain_lazy = () -> Arrays.asList(com.tools20022.repository.entity.Party.mmPowerOfAttorney, com.tools20022.repository.entity.SecuritiesAccount.mmRelatedPowerOfAttorney, com.tools20022.repository.entity.PowerOfAttorneyRequirements.mmPowerOfAttorney); superType_lazy = () -> Mandate.mmObject(); element_lazy = () -> Arrays.asList(com.tools20022.repository.entity.PowerOfAttorney.mmAuthorisedParty, com.tools20022.repository.entity.PowerOfAttorney.mmPowerOfAttorneyRequirements, com.tools20022.repository.entity.PowerOfAttorney.mmAuthorisedAccount); } @Override public Class getInstanceClass() { return PowerOfAttorney.class; } }); return mmObject_lazy.get(); } public Party getAuthorisedParty() { return authorisedParty; } public void setAuthorisedParty(com.tools20022.repository.entity.Party authorisedParty) { this.authorisedParty = authorisedParty; } public PowerOfAttorneyRequirements getPowerOfAttorneyRequirements() { return powerOfAttorneyRequirements; } public void setPowerOfAttorneyRequirements(com.tools20022.repository.entity.PowerOfAttorneyRequirements powerOfAttorneyRequirements) { this.powerOfAttorneyRequirements = powerOfAttorneyRequirements; } public SecuritiesAccount getAuthorisedAccount() { return authorisedAccount; } public void setAuthorisedAccount(com.tools20022.repository.entity.SecuritiesAccount authorisedAccount) { this.authorisedAccount = authorisedAccount; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy