Package cdm.legaldocumentation.master
Class MasterAgreementVariableSet.MasterAgreementVariableSetBuilderImpl
java.lang.Object
cdm.legaldocumentation.master.MasterAgreementVariableSet.MasterAgreementVariableSetBuilderImpl
- All Implemented Interfaces:
MasterAgreementVariableSet,MasterAgreementVariableSet.MasterAgreementVariableSetBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
MasterAgreementVariableSet
public static class MasterAgreementVariableSet.MasterAgreementVariableSetBuilderImpl
extends Object
implements MasterAgreementVariableSet.MasterAgreementVariableSetBuilder
Builder Implementation of MasterAgreementVariableSet
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.master.MasterAgreementVariableSet
MasterAgreementVariableSet.MasterAgreementVariableSetBuilder, MasterAgreementVariableSet.MasterAgreementVariableSetBuilderImpl, MasterAgreementVariableSet.MasterAgreementVariableSetImpl -
Field Summary
FieldsFields inherited from interface cdm.legaldocumentation.master.MasterAgreementVariableSet
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariableSet(MasterAgreementVariableSet _variableSet) addVariableSet(MasterAgreementVariableSet _variableSet, int idx) addVariableSet(List<? extends MasterAgreementVariableSet> variableSets) build()Build MethodsbooleangetName()The name of the variablegetOrCreateVariableSet(int index) getValue()The value for this variableFor some variants a table of variables is required.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setVariableSet(List<? extends MasterAgreementVariableSet> variableSets) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.legaldocumentation.master.MasterAgreementVariableSet
getType, metaData, processMethods inherited from interface cdm.legaldocumentation.master.MasterAgreementVariableSet.MasterAgreementVariableSetBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
variableSet
-
name
-
value
-
-
Constructor Details
-
MasterAgreementVariableSetBuilderImpl
public MasterAgreementVariableSetBuilderImpl()
-
-
Method Details
-
getVariableSet
@RosettaAttribute("variableSet") @RuneAttribute("variableSet") public List<? extends MasterAgreementVariableSet.MasterAgreementVariableSetBuilder> getVariableSet()Description copied from interface:MasterAgreementVariableSetFor some variants a table of variables is required. To support this use case we need to be able to specify variables within variables. Including a variable set here gives us infinite nesting opportunities - realistically we are only ever expecting that a table would need to be defined for any particular clause, so we would expect two levels of nesting as a maximum i.e. variableSet->variableSet->name/value.- Specified by:
getVariableSetin interfaceMasterAgreementVariableSet- Specified by:
getVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
getOrCreateVariableSet
public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder getOrCreateVariableSet(int index) - Specified by:
getOrCreateVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
getName
Description copied from interface:MasterAgreementVariableSetThe name of the variable- Specified by:
getNamein interfaceMasterAgreementVariableSet
-
getValue
Description copied from interface:MasterAgreementVariableSetThe value for this variable- Specified by:
getValuein interfaceMasterAgreementVariableSet
-
addVariableSet
@RosettaAttribute("variableSet") @RuneAttribute("variableSet") public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder addVariableSet(MasterAgreementVariableSet _variableSet) - Specified by:
addVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
addVariableSet
public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder addVariableSet(MasterAgreementVariableSet _variableSet, int idx) - Specified by:
addVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
addVariableSet
public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder addVariableSet(List<? extends MasterAgreementVariableSet> variableSets) - Specified by:
addVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
setVariableSet
@RuneAttribute("variableSet") public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder setVariableSet(List<? extends MasterAgreementVariableSet> variableSets) - Specified by:
setVariableSetin interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
setName
@RosettaAttribute("name") @RuneAttribute("name") public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder setName(String _name) - Specified by:
setNamein interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
setValue
@RosettaAttribute("value") @RuneAttribute("value") public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder setValue(String _value) - Specified by:
setValuein interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder
-
build
Description copied from interface:MasterAgreementVariableSetBuild Methods- Specified by:
buildin interfaceMasterAgreementVariableSet- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceMasterAgreementVariableSet- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceMasterAgreementVariableSet.MasterAgreementVariableSetBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public MasterAgreementVariableSet.MasterAgreementVariableSetBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-