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

com.tools20022.repository.entity.IntraPositionTransfer Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show 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.*;
import com.tools20022.repository.datatype.CurrencyAndAmount;
import com.tools20022.repository.entity.SecuritiesTransfer;
import com.tools20022.repository.GeneratedRepository;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;
import java.util.List;

/**
 * Transfer of securities from one sub-balance to another or from one balance
 * status to another.
 * 

* Class diagram *

* *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMBusinessComponent#getSuperType * superType} = {@linkplain com.tools20022.repository.entity.SecuritiesTransfer * SecuritiesTransfer}
  • *
  • {@linkplain com.tools20022.metamodel.MMBusinessComponent#getElement * element} = *
      *
    • * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer#mmReservation * IntraPositionTransfer.mmReservation}
    • *
    • * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer#mmCollateralAmount * IntraPositionTransfer.mmCollateralAmount}
    • *
    • * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer#mmSecuritiesBalance * IntraPositionTransfer.mmSecuritiesBalance}
    • *
    *
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessComponent#getAssociationDomain * associationDomain} = *
      *
    • * {@linkplain com.tools20022.repository.entity.Reservation#mmRelatedIntraPositionTransfer * Reservation.mmRelatedIntraPositionTransfer}
    • *
    • * {@linkplain com.tools20022.repository.entity.SecuritiesBalance#mmRelatedIntraPositionTransfer * SecuritiesBalance.mmRelatedIntraPositionTransfer}
    • *
    *
  • *
  • * {@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} = * "IntraPositionTransfer"
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Transfer of securities from one sub-balance to another or from one balance status to another." *
  • *
*/ public class IntraPositionTransfer extends SecuritiesTransfer { final static private AtomicReference mmObject_lazy = new AtomicReference<>(); protected List reservation; /** * Quantity of securities set aside by a party for specific purpose. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.Reservation#mmRelatedIntraPositionTransfer * Reservation.mmRelatedIntraPositionTransfer}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.entity.Reservation * Reservation}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer * IntraPositionTransfer}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "Reservation"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Quantity of securities set aside by a party for specific purpose."
  • *
*/ public static final MMBusinessAssociationEnd mmReservation = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.IntraPositionTransfer.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "Reservation"; definition = "Quantity of securities set aside by a party for specific purpose."; minOccurs = 0; opposite_lazy = () -> com.tools20022.repository.entity.Reservation.mmRelatedIntraPositionTransfer; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.Reservation.mmObject(); } }; protected CurrencyAndAmount collateralAmount; /** * Value of the collateral available for the delivery settlement process. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = * {@linkplain com.tools20022.repository.datatype.CurrencyAndAmount * CurrencyAndAmount}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer * IntraPositionTransfer}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "CollateralAmount"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Value of the collateral available for the delivery settlement process."
  • *
*/ public static final MMBusinessAttribute mmCollateralAmount = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.IntraPositionTransfer.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "CollateralAmount"; definition = "Value of the collateral available for the delivery settlement process."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> CurrencyAndAmount.mmObject(); } public Method getGetterMethod() { try { return IntraPositionTransfer.class.getMethod("getCollateralAmount", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected SecuritiesBalance securitiesBalance; /** * Specifies the securities balance or sub-balance from/to which the * securities are transferred. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.SecuritiesBalance#mmRelatedIntraPositionTransfer * SecuritiesBalance.mmRelatedIntraPositionTransfer}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.entity.SecuritiesBalance * SecuritiesBalance}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.IntraPositionTransfer * IntraPositionTransfer}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "SecuritiesBalance"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Specifies the securities balance or sub-balance from/to which the securities are transferred." *
  • *
*/ public static final MMBusinessAssociationEnd mmSecuritiesBalance = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.IntraPositionTransfer.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "SecuritiesBalance"; definition = "Specifies the securities balance or sub-balance from/to which the securities are transferred."; maxOccurs = 1; minOccurs = 1; opposite_lazy = () -> com.tools20022.repository.entity.SecuritiesBalance.mmRelatedIntraPositionTransfer; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.SecuritiesBalance.mmObject(); } }; static public MMBusinessComponent mmObject() { mmObject_lazy.compareAndSet(null, new MMBusinessComponent() { { dataDictionary_lazy = () -> GeneratedRepository.mmdataDict; registrationStatus = MMRegistrationStatus.REGISTERED; name = "IntraPositionTransfer"; definition = "Transfer of securities from one sub-balance to another or from one balance status to another."; associationDomain_lazy = () -> Arrays.asList(com.tools20022.repository.entity.Reservation.mmRelatedIntraPositionTransfer, com.tools20022.repository.entity.SecuritiesBalance.mmRelatedIntraPositionTransfer); superType_lazy = () -> SecuritiesTransfer.mmObject(); element_lazy = () -> Arrays.asList(com.tools20022.repository.entity.IntraPositionTransfer.mmReservation, com.tools20022.repository.entity.IntraPositionTransfer.mmCollateralAmount, com.tools20022.repository.entity.IntraPositionTransfer.mmSecuritiesBalance); } @Override public Class getInstanceClass() { return IntraPositionTransfer.class; } }); return mmObject_lazy.get(); } public List getReservation() { return reservation; } public void setReservation(List reservation) { this.reservation = reservation; } public CurrencyAndAmount getCollateralAmount() { return collateralAmount; } public void setCollateralAmount(CurrencyAndAmount collateralAmount) { this.collateralAmount = collateralAmount; } public SecuritiesBalance getSecuritiesBalance() { return securitiesBalance; } public void setSecuritiesBalance(com.tools20022.repository.entity.SecuritiesBalance securitiesBalance) { this.securitiesBalance = securitiesBalance; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy