Package cdm.event.position
Class CounterpartyPosition.CounterpartyPositionImpl
java.lang.Object
cdm.event.position.ContractBase.ContractBaseImpl
cdm.event.position.CounterpartyPosition.CounterpartyPositionImpl
- All Implemented Interfaces:
ContractBase,CounterpartyPosition,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CounterpartyPosition
public static class CounterpartyPosition.CounterpartyPositionImpl
extends ContractBase.ContractBaseImpl
implements CounterpartyPosition
Immutable Implementation of CounterpartyPosition
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.position.ContractBase
ContractBase.ContractBaseBuilder, ContractBase.ContractBaseBuilderImpl, ContractBase.ContractBaseImplNested classes/interfaces inherited from interface cdm.event.position.CounterpartyPosition
CounterpartyPosition.CounterpartyPositionBuilder, CounterpartyPosition.CounterpartyPositionBuilderImpl, CounterpartyPosition.CounterpartyPositionImpl -
Field Summary
Fields inherited from interface cdm.event.position.ContractBase
metaDataFields inherited from interface cdm.event.position.CounterpartyPosition
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe date and time when the position was opened.getParty()The parties involved in the position, including the Clearing Organization.Represents the role each specified party takes in the position.Encapsulates the core constituents that characterize a position.List<? extends PositionIdentifier> Represents the identifier(s) that uniquely identify a position for an identity issuer.List<? extends ReferenceWithMetaTradeState> Reference to all the trades that constitute the position.inthashCode()protected voidtoString()Methods inherited from class cdm.event.position.ContractBase.ContractBaseImpl
getCollateral, getContractDetails, getExecutionDetails, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.position.ContractBase
getCollateral, getContractDetails, getExecutionDetailsMethods inherited from interface cdm.event.position.CounterpartyPosition
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CounterpartyPositionImpl
-
-
Method Details
-
getPositionIdentifier
@RosettaAttribute("positionIdentifier") @RuneAttribute("positionIdentifier") public List<? extends PositionIdentifier> getPositionIdentifier()Description copied from interface:CounterpartyPositionRepresents the identifier(s) that uniquely identify a position for an identity issuer. A position can include multiple identifiers, for example an internal position identifer and a UTI (Unique Trade Identifier).- Specified by:
getPositionIdentifierin interfaceCounterpartyPosition
-
getOpenDateTime
@RosettaAttribute("openDateTime") @RuneAttribute("openDateTime") public LocalDateTime getOpenDateTime()Description copied from interface:CounterpartyPositionThe date and time when the position was opened.- Specified by:
getOpenDateTimein interfaceCounterpartyPosition
-
getTradeReference
@RosettaAttribute("tradeReference") @RuneAttribute("tradeReference") public List<? extends ReferenceWithMetaTradeState> getTradeReference()Description copied from interface:CounterpartyPositionReference to all the trades that constitute the position.- Specified by:
getTradeReferencein interfaceCounterpartyPosition
-
getParty
Description copied from interface:CounterpartyPositionThe parties involved in the position, including the Clearing Organization.- Specified by:
getPartyin interfaceCounterpartyPosition
-
getPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public List<? extends PartyRole> getPartyRole()Description copied from interface:CounterpartyPositionRepresents the role each specified party takes in the position.- Specified by:
getPartyRolein interfaceCounterpartyPosition
-
getPositionBase
@RosettaAttribute(value="positionBase", isRequired=true) @RuneAttribute(value="positionBase", isRequired=true) public TradableProduct getPositionBase()Description copied from interface:CounterpartyPositionEncapsulates the core constituents that characterize a position.- Specified by:
getPositionBasein interfaceCounterpartyPosition
-
build
Description copied from interface:ContractBaseBuild Methods- Specified by:
buildin interfaceContractBase- Specified by:
buildin interfaceCounterpartyPosition- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classContractBase.ContractBaseImpl
-
toBuilder
- Specified by:
toBuilderin interfaceContractBase- Specified by:
toBuilderin interfaceCounterpartyPosition- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classContractBase.ContractBaseImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classContractBase.ContractBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classContractBase.ContractBaseImpl
-
toString
- Overrides:
toStringin classContractBase.ContractBaseImpl
-