Package cdm.event.common
Class Instruction.InstructionBuilderImpl
java.lang.Object
cdm.event.common.Instruction.InstructionBuilderImpl
- All Implemented Interfaces:
Instruction,Instruction.InstructionBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Instruction
public static class Instruction.InstructionBuilderImpl
extends Object
implements Instruction.InstructionBuilder
Builder Implementation of Instruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.Instruction
Instruction.InstructionBuilder, Instruction.InstructionBuilderImpl, Instruction.InstructionImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface cdm.event.common.Instruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies the trade state that will be acted on by the primitive event functions.Specifies the primitive instructions that will be used to call primitive event functions.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setBefore(ReferenceWithMetaTradeState _before) setBeforeValue(TradeState _before) setPrimitiveInstruction(PrimitiveInstruction _primitiveInstruction) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.Instruction
getType, metaData, processMethods inherited from interface cdm.event.common.Instruction.InstructionBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
primitiveInstruction
-
before
-
-
Constructor Details
-
InstructionBuilderImpl
public InstructionBuilderImpl()
-
-
Method Details
-
getPrimitiveInstruction
@RosettaAttribute("primitiveInstruction") @RuneAttribute("primitiveInstruction") public PrimitiveInstruction.PrimitiveInstructionBuilder getPrimitiveInstruction()Description copied from interface:InstructionSpecifies the primitive instructions that will be used to call primitive event functions.- Specified by:
getPrimitiveInstructionin interfaceInstruction- Specified by:
getPrimitiveInstructionin interfaceInstruction.InstructionBuilder
-
getOrCreatePrimitiveInstruction
- Specified by:
getOrCreatePrimitiveInstructionin interfaceInstruction.InstructionBuilder
-
getBefore
@RosettaAttribute("before") @RuneAttribute("before") public ReferenceWithMetaTradeState.ReferenceWithMetaTradeStateBuilder getBefore()Description copied from interface:InstructionSpecifies the trade state that will be acted on by the primitive event functions.- Specified by:
getBeforein interfaceInstruction- Specified by:
getBeforein interfaceInstruction.InstructionBuilder
-
getOrCreateBefore
- Specified by:
getOrCreateBeforein interfaceInstruction.InstructionBuilder
-
setPrimitiveInstruction
@RosettaAttribute("primitiveInstruction") @RuneAttribute("primitiveInstruction") public Instruction.InstructionBuilder setPrimitiveInstruction(PrimitiveInstruction _primitiveInstruction) - Specified by:
setPrimitiveInstructionin interfaceInstruction.InstructionBuilder
-
setBefore
@RosettaAttribute("before") @RuneAttribute("before") public Instruction.InstructionBuilder setBefore(ReferenceWithMetaTradeState _before) - Specified by:
setBeforein interfaceInstruction.InstructionBuilder
-
setBeforeValue
- Specified by:
setBeforeValuein interfaceInstruction.InstructionBuilder
-
build
Description copied from interface:InstructionBuild Methods- Specified by:
buildin interfaceInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceInstruction.InstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Instruction.InstructionBuilder 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
-