Package cdm.legaldocumentation.csa
Class Threshold.ThresholdBuilderImpl
java.lang.Object
cdm.legaldocumentation.csa.Threshold.ThresholdBuilderImpl
- All Implemented Interfaces:
Threshold,Threshold.ThresholdBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Threshold
public static class Threshold.ThresholdBuilderImpl
extends Object
implements Threshold.ThresholdBuilder
Builder Implementation of Threshold
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.legaldocumentation.csa.Threshold
Threshold.ThresholdBuilder, Threshold.ThresholdBuilderImpl, Threshold.ThresholdImpl -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartyElection(ElectiveAmountElection _partyElection) addPartyElection(ElectiveAmountElection _partyElection, int idx) addPartyElection(List<? extends ElectiveAmountElection> partyElections) build()Build MethodsbooleangetOrCreatePartyElection(int index) The parties' Threshold election.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setPartyElection(List<? extends ElectiveAmountElection> partyElections) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.legaldocumentation.csa.Threshold.ThresholdBuilder
process
-
Field Details
-
partyElection
-
-
Constructor Details
-
ThresholdBuilderImpl
public ThresholdBuilderImpl()
-
-
Method Details
-
getPartyElection
@RosettaAttribute("partyElection") @Accessor(GETTER) @Required @Multi @RuneAttribute("partyElection") public List<? extends ElectiveAmountElection.ElectiveAmountElectionBuilder> getPartyElection()Description copied from interface:ThresholdThe parties' Threshold election.- Specified by:
getPartyElectionin interfaceThreshold- Specified by:
getPartyElectionin interfaceThreshold.ThresholdBuilder
-
getOrCreatePartyElection
- Specified by:
getOrCreatePartyElectionin interfaceThreshold.ThresholdBuilder
-
addPartyElection
@RosettaAttribute("partyElection") @Accessor(ADDER) @Required @Multi @RuneAttribute("partyElection") public Threshold.ThresholdBuilder addPartyElection(ElectiveAmountElection _partyElection) - Specified by:
addPartyElectionin interfaceThreshold.ThresholdBuilder
-
addPartyElection
- Specified by:
addPartyElectionin interfaceThreshold.ThresholdBuilder
-
addPartyElection
public Threshold.ThresholdBuilder addPartyElection(List<? extends ElectiveAmountElection> partyElections) - Specified by:
addPartyElectionin interfaceThreshold.ThresholdBuilder
-
setPartyElection
@RosettaAttribute("partyElection") @Accessor(SETTER) @Required @Multi @RuneAttribute("partyElection") public Threshold.ThresholdBuilder setPartyElection(List<? extends ElectiveAmountElection> partyElections) - Specified by:
setPartyElectionin interfaceThreshold.ThresholdBuilder
-
build
Description copied from interface:ThresholdBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceThreshold.ThresholdBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Threshold.ThresholdBuilder 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
-