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

com.tools20022.repository.entity.ClassAction 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.ISODateTime;
import com.tools20022.repository.datatype.Max35Text;
import com.tools20022.repository.GeneratedRepository;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicReference;

/**
 * Form of lawsuit in which a group of shareholders collectively bring a claim
 * to court, mainly because it would be too expensive for each individual
 * shareholder to launch their own lawsuit.
 * 

* Class diagram *

* *

* Constant fields: *

    *
  • {@linkplain com.tools20022.metamodel.MMBusinessComponent#getElement * element} = *
      *
    • * {@linkplain com.tools20022.repository.entity.ClassAction#mmClassActionNumber * ClassAction.mmClassActionNumber}
    • *
    • * {@linkplain com.tools20022.repository.entity.ClassAction#mmLeadPlaintiffDeadline * ClassAction.mmLeadPlaintiffDeadline}
    • *
    • * {@linkplain com.tools20022.repository.entity.ClassAction#mmCourtApprovalDate * ClassAction.mmCourtApprovalDate}
    • *
    • {@linkplain com.tools20022.repository.entity.ClassAction#mmClaimPeriod * ClassAction.mmClaimPeriod}
    • *
    • {@linkplain com.tools20022.repository.entity.ClassAction#mmFilingDate * ClassAction.mmFilingDate}
    • *
    • {@linkplain com.tools20022.repository.entity.ClassAction#mmHearingDate * ClassAction.mmHearingDate}
    • *
    • * {@linkplain com.tools20022.repository.entity.ClassAction#mmCorporateEvent * ClassAction.mmCorporateEvent}
    • *
    *
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessComponent#getAssociationDomain * associationDomain} = *
      *
    • * {@linkplain com.tools20022.repository.entity.DateTimePeriod#mmClassAction * DateTimePeriod.mmClassAction}
    • *
    • * {@linkplain com.tools20022.repository.entity.CorporateActionEvent#mmRelatedClassAction * CorporateActionEvent.mmRelatedClassAction}
    • *
    *
  • *
  • * {@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} = * "ClassAction"
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Form of lawsuit in which a group of shareholders collectively bring a claim to court, mainly because it would be too expensive for each individual shareholder to launch their own lawsuit." *
  • *
*/ public class ClassAction { final static private AtomicReference mmObject_lazy = new AtomicReference<>(); protected Max35Text classActionNumber; /** * Reference assigned by a court to a class action. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.Max35Text * Max35Text}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "ClassActionNumber"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Reference assigned by a court to a class action."
  • *
*/ public static final MMBusinessAttribute mmClassActionNumber = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "ClassActionNumber"; definition = "Reference assigned by a court to a class action."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> Max35Text.mmObject(); } public Method getGetterMethod() { try { return ClassAction.class.getMethod("getClassActionNumber", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected ISODateTime leadPlaintiffDeadline; /** * Last day an investor can become a lead plaintiff. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.ISODateTime * ISODateTime}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "LeadPlaintiffDeadline"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Last day an investor can become a lead plaintiff."
  • *
*/ public static final MMBusinessAttribute mmLeadPlaintiffDeadline = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "LeadPlaintiffDeadline"; definition = "Last day an investor can become a lead plaintiff."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> ISODateTime.mmObject(); } public Method getGetterMethod() { try { return ClassAction.class.getMethod("getLeadPlaintiffDeadline", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected ISODateTime courtApprovalDate; /** * Date upon which the High Court provided approval. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.ISODateTime * ISODateTime}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "CourtApprovalDate"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Date upon which the High Court provided approval."
  • *
*/ public static final MMBusinessAttribute mmCourtApprovalDate = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "CourtApprovalDate"; definition = "Date upon which the High Court provided approval."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> ISODateTime.mmObject(); } public Method getGetterMethod() { try { return ClassAction.class.getMethod("getCourtApprovalDate", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected DateTimePeriod claimPeriod; /** * Period assigned by the court in a class action. It determines the * client's eligible transactions that will be included in the class action * and used to determine the resulting entitlement. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.DateTimePeriod#mmClassAction * DateTimePeriod.mmClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = {@linkplain com.tools20022.repository.entity.DateTimePeriod * DateTimePeriod}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "ClaimPeriod"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Period assigned by the court in a class action. It determines the client's eligible transactions that will be included in the class action and used to determine the resulting entitlement." *
  • *
*/ public static final MMBusinessAssociationEnd mmClaimPeriod = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "ClaimPeriod"; definition = "Period assigned by the court in a class action. It determines the client's eligible transactions that will be included in the class action and used to determine the resulting entitlement."; maxOccurs = 1; minOccurs = 1; opposite_lazy = () -> com.tools20022.repository.entity.DateTimePeriod.mmClassAction; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.DateTimePeriod.mmObject(); } }; protected ISODateTime filingDate; /** * Date on which the action was filed at the applicable court. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.ISODateTime * ISODateTime}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "FilingDate"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Date on which the action was filed at the applicable court."
  • *
*/ public static final MMBusinessAttribute mmFilingDate = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "FilingDate"; definition = "Date on which the action was filed at the applicable court."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> ISODateTime.mmObject(); } public Method getGetterMethod() { try { return ClassAction.class.getMethod("getFilingDate", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected ISODateTime hearingDate; /** * Date for the hearing between the plaintiff and defendant, as set by the * court. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAttribute#getSimpleType * simpleType} = {@linkplain com.tools20022.repository.datatype.ISODateTime * ISODateTime}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "HearingDate"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = * "Date for the hearing between the plaintiff and defendant, as set by the court." *
  • *
*/ public static final MMBusinessAttribute mmHearingDate = new MMBusinessAttribute() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "HearingDate"; definition = "Date for the hearing between the plaintiff and defendant, as set by the court."; maxOccurs = 1; minOccurs = 1; simpleType_lazy = () -> ISODateTime.mmObject(); } public Method getGetterMethod() { try { return ClassAction.class.getMethod("getHearingDate", new Class[]{}); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } }; protected CorporateActionEvent corporateEvent; /** * Corporate event for which class action is specified. *

* Constant fields: *

    *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getOpposite * opposite} = * {@linkplain com.tools20022.repository.entity.CorporateActionEvent#mmRelatedClassAction * CorporateActionEvent.mmRelatedClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getAggregation * aggregation} = com.tools20022.metamodel.MMAggregation.NONE
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessAssociationEnd#getType * type} = * {@linkplain com.tools20022.repository.entity.CorporateActionEvent * CorporateActionEvent}
  • *
  • * {@linkplain com.tools20022.metamodel.MMBusinessElement#getElementContext * elementContext} = * {@linkplain com.tools20022.repository.entity.ClassAction ClassAction}
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getRegistrationStatus * registrationStatus} = * com.tools20022.metamodel.MMRegistrationStatus.REGISTERED
  • *
  • {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getName * name} = "CorporateEvent"
  • *
  • * {@linkplain com.tools20022.metamodel.MMRepositoryConcept#getDefinition * definition} = "Corporate event for which class action is specified."
  • *
*/ public static final MMBusinessAssociationEnd mmCorporateEvent = new MMBusinessAssociationEnd() { { isDerived = false; elementContext_lazy = () -> com.tools20022.repository.entity.ClassAction.mmObject(); registrationStatus = MMRegistrationStatus.REGISTERED; name = "CorporateEvent"; definition = "Corporate event for which class action is specified."; maxOccurs = 1; minOccurs = 0; opposite_lazy = () -> com.tools20022.repository.entity.CorporateActionEvent.mmRelatedClassAction; aggregation = MMAggregation.NONE; type_lazy = () -> com.tools20022.repository.entity.CorporateActionEvent.mmObject(); } }; static public MMBusinessComponent mmObject() { mmObject_lazy.compareAndSet(null, new MMBusinessComponent() { { dataDictionary_lazy = () -> GeneratedRepository.mmdataDict; registrationStatus = MMRegistrationStatus.REGISTERED; name = "ClassAction"; definition = "Form of lawsuit in which a group of shareholders collectively bring a claim to court, mainly because it would be too expensive for each individual shareholder to launch their own lawsuit."; associationDomain_lazy = () -> Arrays.asList(com.tools20022.repository.entity.DateTimePeriod.mmClassAction, com.tools20022.repository.entity.CorporateActionEvent.mmRelatedClassAction); element_lazy = () -> Arrays.asList(com.tools20022.repository.entity.ClassAction.mmClassActionNumber, com.tools20022.repository.entity.ClassAction.mmLeadPlaintiffDeadline, com.tools20022.repository.entity.ClassAction.mmCourtApprovalDate, com.tools20022.repository.entity.ClassAction.mmClaimPeriod, com.tools20022.repository.entity.ClassAction.mmFilingDate, com.tools20022.repository.entity.ClassAction.mmHearingDate, com.tools20022.repository.entity.ClassAction.mmCorporateEvent); } @Override public Class getInstanceClass() { return ClassAction.class; } }); return mmObject_lazy.get(); } public Max35Text getClassActionNumber() { return classActionNumber; } public void setClassActionNumber(Max35Text classActionNumber) { this.classActionNumber = classActionNumber; } public ISODateTime getLeadPlaintiffDeadline() { return leadPlaintiffDeadline; } public void setLeadPlaintiffDeadline(ISODateTime leadPlaintiffDeadline) { this.leadPlaintiffDeadline = leadPlaintiffDeadline; } public ISODateTime getCourtApprovalDate() { return courtApprovalDate; } public void setCourtApprovalDate(ISODateTime courtApprovalDate) { this.courtApprovalDate = courtApprovalDate; } public DateTimePeriod getClaimPeriod() { return claimPeriod; } public void setClaimPeriod(com.tools20022.repository.entity.DateTimePeriod claimPeriod) { this.claimPeriod = claimPeriod; } public ISODateTime getFilingDate() { return filingDate; } public void setFilingDate(ISODateTime filingDate) { this.filingDate = filingDate; } public ISODateTime getHearingDate() { return hearingDate; } public void setHearingDate(ISODateTime hearingDate) { this.hearingDate = hearingDate; } public CorporateActionEvent getCorporateEvent() { return corporateEvent; } public void setCorporateEvent(com.tools20022.repository.entity.CorporateActionEvent corporateEvent) { this.corporateEvent = corporateEvent; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy