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

com.tools20022.repository.codeset.EUDividendStatusCode 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.codeset;

import com.tools20022.metamodel.MMCode;
import com.tools20022.metamodel.MMCodeSet;
import com.tools20022.metamodel.MMRegistrationStatus;
import com.tools20022.repository.codeset.EUDividendStatusCode.InternalXmlAdapter;
import com.tools20022.repository.GeneratedRepository;
import java.lang.String;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;
import java.util.LinkedHashMap;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

/**
 * Specifies whether the dividend is in the scope of the European directive on
 * taxation of savings income in the form of interest payments.
 * 

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMCodeSet#getCode code} = *
      *
    • * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode#DividendInScope * EUDividendStatusCode.mmDividendInScope}
    • *
    • * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode#DividendOutScope * EUDividendStatusCode.mmDividendOutScope}
    • *
    • * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode#DividendUnknown * EUDividendStatusCode.mmDividendUnknown}
    • *
    *
  • *
  • * {@linkplain com.tools20022.metamodel.MMTopLevelDictionaryEntry#getDataDictionary * dataDictionary} = * {@linkplain com.tools20022.repository.GeneratedRepository#mmdataDict * GeneratedRepository.mmdataDict}
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getExample * example} = *
      *
    • "DIVI"
    • *
    *
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName name} = * "EUDividendStatusCode"
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Specifies whether the dividend is in the scope of the European directive on taxation of savings income in the form of interest payments." *
  • *
*/ @XmlJavaTypeAdapter(InternalXmlAdapter.class) public class EUDividendStatusCode extends MMCode { final static private AtomicReference mmObject_lazy = new AtomicReference<>(); /** * Dividend is in the scope of the directive. *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMCode#getOwner owner} = * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode * EUDividendStatusCode}
  • *
  • {@linkplain com.tools20022.metamodel.MMCode#getCodeName codeName} = * "DIVI"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "DividendInScope"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Dividend is in the scope of the directive."
  • *
*/ public static final EUDividendStatusCode DividendInScope = new EUDividendStatusCode() { { registrationStatus = MMRegistrationStatus.REGISTERED; name = "DividendInScope"; definition = "Dividend is in the scope of the directive."; owner_lazy = () -> com.tools20022.repository.codeset.EUDividendStatusCode.mmObject(); codeName = "DIVI"; } }; /** * Dividend is out of the scope of the directive. *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMCode#getOwner owner} = * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode * EUDividendStatusCode}
  • *
  • {@linkplain com.tools20022.metamodel.MMCode#getCodeName codeName} = * "DIVO"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "DividendOutScope"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Dividend is out of the scope of the directive."
  • *
*/ public static final EUDividendStatusCode DividendOutScope = new EUDividendStatusCode() { { registrationStatus = MMRegistrationStatus.REGISTERED; name = "DividendOutScope"; definition = "Dividend is out of the scope of the directive."; owner_lazy = () -> com.tools20022.repository.codeset.EUDividendStatusCode.mmObject(); codeName = "DIVO"; } }; /** * Unknown whether the dividend is in or out of the scope of the directive. *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMCode#getOwner owner} = * {@linkplain com.tools20022.repository.codeset.EUDividendStatusCode * EUDividendStatusCode}
  • *
  • {@linkplain com.tools20022.metamodel.MMCode#getCodeName codeName} = * "UKWN"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "DividendUnknown"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Unknown whether the dividend is in or out of the scope of the directive." *
  • *
*/ public static final EUDividendStatusCode DividendUnknown = new EUDividendStatusCode() { { registrationStatus = MMRegistrationStatus.REGISTERED; name = "DividendUnknown"; definition = "Unknown whether the dividend is in or out of the scope of the directive."; owner_lazy = () -> com.tools20022.repository.codeset.EUDividendStatusCode.mmObject(); codeName = "UKWN"; } }; final static private LinkedHashMap codesByName = new LinkedHashMap<>(); protected EUDividendStatusCode() { } final static public MMCodeSet mmObject() { mmObject_lazy.compareAndSet(null, new MMCodeSet() { { dataDictionary_lazy = () -> GeneratedRepository.mmdataDict; example = Arrays.asList("DIVI"); registrationStatus = MMRegistrationStatus.REGISTERED; name = "EUDividendStatusCode"; definition = "Specifies whether the dividend is in the scope of the European directive on taxation of savings income in the form of interest payments."; code_lazy = () -> Arrays.asList(com.tools20022.repository.codeset.EUDividendStatusCode.DividendInScope, com.tools20022.repository.codeset.EUDividendStatusCode.DividendOutScope, com.tools20022.repository.codeset.EUDividendStatusCode.DividendUnknown); } }); return mmObject_lazy.get(); } static { codesByName.put(DividendInScope.getCodeName().get(), DividendInScope); codesByName.put(DividendOutScope.getCodeName().get(), DividendOutScope); codesByName.put(DividendUnknown.getCodeName().get(), DividendUnknown); } public static EUDividendStatusCode valueOf(String codeName) { return codesByName.get(codeName); } public static EUDividendStatusCode[] values() { EUDividendStatusCode[] values = new EUDividendStatusCode[codesByName.size()]; return codesByName.values().toArray(values); } protected static class InternalXmlAdapter extends XmlAdapter { @Override public EUDividendStatusCode unmarshal(String codeName) { return valueOf(codeName); } @Override public String marshal(EUDividendStatusCode codeObj) { return codeObj.getCodeName().orElse(null); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy