Package cdm.event.position
Interface AvailableInventory.AvailableInventoryBuilder
- All Superinterfaces:
AvailableInventory,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Subinterfaces:
SecurityLocate.SecurityLocateBuilder
- All Known Implementing Classes:
AvailableInventory.AvailableInventoryBuilderImpl,SecurityLocate.SecurityLocateBuilderImpl
- Enclosing interface:
AvailableInventory
public static interface AvailableInventory.AvailableInventoryBuilder
extends AvailableInventory, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.position.AvailableInventory
AvailableInventory.AvailableInventoryBuilder, AvailableInventory.AvailableInventoryBuilderImpl, AvailableInventory.AvailableInventoryImpl -
Field Summary
Fields inherited from interface cdm.event.position.AvailableInventory
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddAvailableInventoryRecord(AvailableInventoryRecord availableInventoryRecord) addAvailableInventoryRecord(AvailableInventoryRecord availableInventoryRecord, int idx) addAvailableInventoryRecord(List<? extends AvailableInventoryRecord> availableInventoryRecord) addPartyRole(PartyRole partyRole) addPartyRole(PartyRole partyRole, int idx) addPartyRole(List<? extends PartyRole> partyRole) An array holding the list of inventory being described.Allows details related to the availability messaging use case to be definedgetOrCreateAvailableInventoryRecord(int index) getOrCreateParty(int index) getOrCreatePartyRole(int index) List<? extends Party.PartyBuilder> getParty()Defines all parties involved for the list of inventory records in this set of inventory.List<? extends PartyRole.PartyRoleBuilder> Defines the role(s) that party(ies) may have in relation to the inventory.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAvailableInventoryRecord(List<? extends AvailableInventoryRecord> availableInventoryRecord) setMessageInformation(MessageInformation messageInformation) setPartyRole(List<? extends PartyRole> partyRole) Methods inherited from interface cdm.event.position.AvailableInventory
build, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateMessageInformation
MessageInformation.MessageInformationBuilder getOrCreateMessageInformation() -
getMessageInformation
MessageInformation.MessageInformationBuilder getMessageInformation()Description copied from interface:AvailableInventoryAllows details related to the availability messaging use case to be defined- Specified by:
getMessageInformationin interfaceAvailableInventory
-
getOrCreateParty
-
getParty
List<? extends Party.PartyBuilder> getParty()Description copied from interface:AvailableInventoryDefines all parties involved for the list of inventory records in this set of inventory. For example, when used to describe securities lending availability, this could hold the sender of the availability, the intended recipient, the beneficial owner(s), the lender (which may differ from the sender as the lender may have the same piece of availability going through multiple agents), an agent or a venue.- Specified by:
getPartyin interfaceAvailableInventory
-
getOrCreatePartyRole
-
getPartyRole
List<? extends PartyRole.PartyRoleBuilder> getPartyRole()Description copied from interface:AvailableInventoryDefines the role(s) that party(ies) may have in relation to the inventory.- Specified by:
getPartyRolein interfaceAvailableInventory
-
getOrCreateAvailableInventoryRecord
AvailableInventoryRecord.AvailableInventoryRecordBuilder getOrCreateAvailableInventoryRecord(int index) -
getAvailableInventoryRecord
List<? extends AvailableInventoryRecord.AvailableInventoryRecordBuilder> getAvailableInventoryRecord()Description copied from interface:AvailableInventoryAn array holding the list of inventory being described. Each element in the inventoryRecord array represents an individual piece of inventory i.e. a security.- Specified by:
getAvailableInventoryRecordin interfaceAvailableInventory
-
setMessageInformation
AvailableInventory.AvailableInventoryBuilder setMessageInformation(MessageInformation messageInformation) -
addParty
-
addParty
-
addParty
-
setParty
-
addPartyRole
-
addPartyRole
-
addPartyRole
-
setPartyRole
-
addAvailableInventoryRecord
AvailableInventory.AvailableInventoryBuilder addAvailableInventoryRecord(AvailableInventoryRecord availableInventoryRecord) -
addAvailableInventoryRecord
AvailableInventory.AvailableInventoryBuilder addAvailableInventoryRecord(AvailableInventoryRecord availableInventoryRecord, int idx) -
addAvailableInventoryRecord
AvailableInventory.AvailableInventoryBuilder addAvailableInventoryRecord(List<? extends AvailableInventoryRecord> availableInventoryRecord) -
setAvailableInventoryRecord
AvailableInventory.AvailableInventoryBuilder setAvailableInventoryRecord(List<? extends AvailableInventoryRecord> availableInventoryRecord) -
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-