Package cdm.event.position
Class AvailableInventoryRecord.AvailableInventoryRecordImpl
java.lang.Object
cdm.event.position.InventoryRecord.InventoryRecordImpl
cdm.event.position.AvailableInventoryRecord.AvailableInventoryRecordImpl
- All Implemented Interfaces:
AvailableInventoryRecord,InventoryRecord,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
AvailableInventoryRecord
public static class AvailableInventoryRecord.AvailableInventoryRecordImpl
extends InventoryRecord.InventoryRecordImpl
implements AvailableInventoryRecord
Immutable Implementation of AvailableInventoryRecord
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.position.AvailableInventoryRecord
AvailableInventoryRecord.AvailableInventoryRecordBuilder, AvailableInventoryRecord.AvailableInventoryRecordBuilderImpl, AvailableInventoryRecord.AvailableInventoryRecordImplNested classes/interfaces inherited from interface cdm.event.position.InventoryRecord
InventoryRecord.InventoryRecordBuilder, InventoryRecord.InventoryRecordBuilderImpl, InventoryRecord.InventoryRecordImpl -
Field Summary
Fields inherited from interface cdm.event.position.AvailableInventoryRecord
metaDataFields inherited from interface cdm.event.position.InventoryRecord
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe quantity of the security that is availableList<? extends CollateralProvisions> The type of collateral can often be required when determining if the piece of availability being described is suitable for a party.There may be a set period/time restriction associated to the security.An optional element which can be used to hold a rate associated to this piece of availability.An individual security may be held by several agents.inthashCode()protected voidtoString()Methods inherited from class cdm.event.position.InventoryRecord.InventoryRecordImpl
getIdentifer, getSecurity, setBuilderFieldsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.position.AvailableInventoryRecord
getType, metaData, processMethods inherited from interface cdm.event.position.InventoryRecord
getIdentifer, getSecurityMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
AvailableInventoryRecordImpl
protected AvailableInventoryRecordImpl(AvailableInventoryRecord.AvailableInventoryRecordBuilder builder)
-
-
Method Details
-
getExpirationDateTime
@RosettaAttribute("expirationDateTime") @RuneAttribute("expirationDateTime") public ZonedDateTime getExpirationDateTime()Description copied from interface:AvailableInventoryRecordThere may be a set period/time restriction associated to the security.- Specified by:
getExpirationDateTimein interfaceAvailableInventoryRecord
-
getCollateral
@RosettaAttribute("collateral") @RuneAttribute("collateral") public List<? extends CollateralProvisions> getCollateral()Description copied from interface:AvailableInventoryRecordThe type of collateral can often be required when determining if the piece of availability being described is suitable for a party.- Specified by:
getCollateralin interfaceAvailableInventoryRecord
-
getPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public List<? extends PartyRole> getPartyRole()Description copied from interface:AvailableInventoryRecordAn individual security may be held by several agents. Including the party role at this level allows us to reference the party holding this specific item.- Specified by:
getPartyRolein interfaceAvailableInventoryRecord
-
getAvailableQuantity
@RosettaAttribute("availableQuantity") @RuneAttribute("availableQuantity") public Quantity getAvailableQuantity()Description copied from interface:AvailableInventoryRecordThe quantity of the security that is available- Specified by:
getAvailableQuantityin interfaceAvailableInventoryRecord
-
getInterestRate
Description copied from interface:AvailableInventoryRecordAn optional element which can be used to hold a rate associated to this piece of availability.- Specified by:
getInterestRatein interfaceAvailableInventoryRecord
-
build
Description copied from interface:InventoryRecordBuild Methods- Specified by:
buildin interfaceAvailableInventoryRecord- Specified by:
buildin interfaceInventoryRecord- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classInventoryRecord.InventoryRecordImpl
-
toBuilder
- Specified by:
toBuilderin interfaceAvailableInventoryRecord- Specified by:
toBuilderin interfaceInventoryRecord- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classInventoryRecord.InventoryRecordImpl
-
setBuilderFields
-
equals
- Overrides:
equalsin classInventoryRecord.InventoryRecordImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classInventoryRecord.InventoryRecordImpl
-
toString
- Overrides:
toStringin classInventoryRecord.InventoryRecordImpl
-