Package cdm.legaldocumentation.master
Class MasterAgreementClauseVariant.MasterAgreementClauseVariantImpl
java.lang.Object
cdm.legaldocumentation.master.MasterAgreementClauseVariant.MasterAgreementClauseVariantImpl
- All Implemented Interfaces:
MasterAgreementClauseVariant,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
MasterAgreementClauseVariant
public static class MasterAgreementClauseVariant.MasterAgreementClauseVariantImpl
extends Object
implements MasterAgreementClauseVariant
Immutable Implementation of MasterAgreementClauseVariant
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.master.MasterAgreementClauseVariant
MasterAgreementClauseVariant.MasterAgreementClauseVariantBuilder, MasterAgreementClauseVariant.MasterAgreementClauseVariantBuilderImpl, MasterAgreementClauseVariant.MasterAgreementClauseVariantImpl -
Field Summary
Fields inherited from interface cdm.legaldocumentation.master.MasterAgreementClauseVariant
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMasterAgreementClauseVariantImpl(MasterAgreementClauseVariant.MasterAgreementClauseVariantBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanOptional counterparty role.Unique identifier for this variantgetName()Optional textual description of the variant.Optional party.List<? extends MasterAgreementVariableSet> For some variants of some clauses additional details are required to work out what has been elected.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.master.MasterAgreementClauseVariant
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
MasterAgreementClauseVariantImpl
protected MasterAgreementClauseVariantImpl(MasterAgreementClauseVariant.MasterAgreementClauseVariantBuilder builder)
-
-
Method Details
-
getIdentifier
@RosettaAttribute(value="identifier", isRequired=true) @RuneAttribute(value="identifier", isRequired=true) public MasterAgreementVariantIdentifierEnum getIdentifier()Description copied from interface:MasterAgreementClauseVariantUnique identifier for this variant- Specified by:
getIdentifierin interfaceMasterAgreementClauseVariant
-
getName
Description copied from interface:MasterAgreementClauseVariantOptional textual description of the variant.- Specified by:
getNamein interfaceMasterAgreementClauseVariant
-
getCounterparty
@RosettaAttribute("counterparty") @RuneAttribute("counterparty") public List<CounterpartyRoleEnum> getCounterparty()Description copied from interface:MasterAgreementClauseVariantOptional counterparty role. This can be used where a clause needs to assign a different variant to the different parties on the agreement based upon their role i.e. Party A or Party B.- Specified by:
getCounterpartyin interfaceMasterAgreementClauseVariant
-
getOtherParty
@RosettaAttribute("otherParty") @RuneAttribute("otherParty") public List<PartyRoleEnum> getOtherParty()Description copied from interface:MasterAgreementClauseVariantOptional party. This can be used where a clause needs to assign different variants to different parties who may or may not be on the agreement.- Specified by:
getOtherPartyin interfaceMasterAgreementClauseVariant
-
getVariableSet
@RosettaAttribute("variableSet") @RuneAttribute("variableSet") public List<? extends MasterAgreementVariableSet> getVariableSet()Description copied from interface:MasterAgreementClauseVariantFor some variants of some clauses additional details are required to work out what has been elected. This array can be used to define the name and value of these variables. Please refer to the agreement documentation for more details of the variables that are available for any clause.- Specified by:
getVariableSetin interfaceMasterAgreementClauseVariant
-
build
Description copied from interface:MasterAgreementClauseVariantBuild Methods- Specified by:
buildin interfaceMasterAgreementClauseVariant- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceMasterAgreementClauseVariant- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
protected void setBuilderFields(MasterAgreementClauseVariant.MasterAgreementClauseVariantBuilder builder) -
equals
-
hashCode
public int hashCode() -
toString
-