Package cdm.event.position
Class PortfolioState.PortfolioStateImpl
java.lang.Object
cdm.event.position.PortfolioState.PortfolioStateImpl
- All Implemented Interfaces:
PortfolioState,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PortfolioState
Immutable Implementation of PortfolioState
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.event.position.PortfolioState
PortfolioState.PortfolioStateBuilder, PortfolioState.PortfolioStateBuilderImpl, PortfolioState.PortfolioStateImpl -
Field Summary
Fields inherited from interface cdm.event.position.PortfolioState
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanPointer to the previous PortfolioState and new Event(s) leading to the current (new) state.com.rosetta.model.metafields.MetaFieldsgetMeta()The list of positions, each containing a Quantity and a Product.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.position.PortfolioState
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PortfolioStateImpl
-
-
Method Details
-
getPositions
@RosettaAttribute("positions") @RuneAttribute("positions") public List<? extends Position> getPositions()Description copied from interface:PortfolioStateThe list of positions, each containing a Quantity and a Product.- Specified by:
getPositionsin interfacePortfolioState
-
getLineage
@RosettaAttribute(value="lineage", isRequired=true) @RuneAttribute(value="lineage", isRequired=true) public Lineage getLineage()Description copied from interface:PortfolioStatePointer to the previous PortfolioState and new Event(s) leading to the current (new) state. Previous PortfolioState in the Lineage can be Null in case this is the start of the chain of Events.- Specified by:
getLineagein interfacePortfolioState
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacePortfolioState
-
build
Description copied from interface:PortfolioStateBuild Methods- Specified by:
buildin interfacePortfolioState- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePortfolioState- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-