Package cdm.event.common
Class ReturnInstruction.ReturnInstructionBuilderImpl
java.lang.Object
cdm.event.common.ReturnInstruction.ReturnInstructionBuilderImpl
- All Implemented Interfaces:
ReturnInstruction,ReturnInstruction.ReturnInstructionBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ReturnInstruction
public static class ReturnInstruction.ReturnInstructionBuilderImpl
extends Object
implements ReturnInstruction.ReturnInstructionBuilder
Builder Implementation of ReturnInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.ReturnInstruction
ReturnInstruction.ReturnInstructionBuilder, ReturnInstruction.ReturnInstructionBuilderImpl, ReturnInstruction.ReturnInstructionImpl -
Field Summary
FieldsFields inherited from interface cdm.event.common.ReturnInstruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddQuantity(Quantity _quantity) addQuantity(Quantity _quantity, int idx) addQuantity(List<? extends Quantity> quantitys) build()Build MethodsbooleangetOrCreateQuantity(int index) List<? extends Quantity.QuantityBuilder> Specifies the quantity of shares and cash to be returned in a partial return event.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setQuantity(List<? extends Quantity> quantitys) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.ReturnInstruction
getType, metaData, processMethods inherited from interface cdm.event.common.ReturnInstruction.ReturnInstructionBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
quantity
-
-
Constructor Details
-
ReturnInstructionBuilderImpl
public ReturnInstructionBuilderImpl()
-
-
Method Details
-
getQuantity
@RosettaAttribute(value="quantity", isRequired=true) @RuneAttribute(value="quantity", isRequired=true) public List<? extends Quantity.QuantityBuilder> getQuantity()Description copied from interface:ReturnInstructionSpecifies the quantity of shares and cash to be returned in a partial return event.- Specified by:
getQuantityin interfaceReturnInstruction- Specified by:
getQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
getOrCreateQuantity
- Specified by:
getOrCreateQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
addQuantity
@RosettaAttribute(value="quantity", isRequired=true) @RuneAttribute(value="quantity", isRequired=true) public ReturnInstruction.ReturnInstructionBuilder addQuantity(Quantity _quantity) - Specified by:
addQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
addQuantity
- Specified by:
addQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
addQuantity
- Specified by:
addQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
setQuantity
@RuneAttribute("quantity") public ReturnInstruction.ReturnInstructionBuilder setQuantity(List<? extends Quantity> quantitys) - Specified by:
setQuantityin interfaceReturnInstruction.ReturnInstructionBuilder
-
build
Description copied from interface:ReturnInstructionBuild Methods- Specified by:
buildin interfaceReturnInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceReturnInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceReturnInstruction.ReturnInstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ReturnInstruction.ReturnInstructionBuilder 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
-