Package cdm.event.common
Interface Affirmation.AffirmationBuilder
- All Superinterfaces:
Affirmation,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Affirmation.AffirmationBuilderImpl
- Enclosing interface:
Affirmation
public static interface Affirmation.AffirmationBuilder
extends Affirmation, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.Affirmation
Affirmation.AffirmationBuilder, Affirmation.AffirmationBuilderImpl, Affirmation.AffirmationImpl -
Field Summary
Fields inherited from interface cdm.event.common.Affirmation
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddIdentifier(Identifier identifier) addIdentifier(Identifier identifier, int idx) addIdentifier(List<? extends Identifier> identifier) addPartyRole(PartyRole partyRole) addPartyRole(PartyRole partyRole, int idx) addPartyRole(List<? extends PartyRole> partyRole) List<? extends Identifier.IdentifierBuilder> The identifier(s) associated with the trade and resulting confirmation.The lineage attribute provides a linkage to previous lifecycle events and associated data.getOrCreateIdentifier(int index) getOrCreateParty(int index) getOrCreatePartyRole(int index) List<? extends Party.PartyBuilder> getParty()The parties associated with the trade.List<? extends PartyRole.PartyRoleBuilder> The role(s) that party(ies) may have in relation to the tradedefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setIdentifier(List<? extends Identifier> identifier) setLineage(Lineage lineage) setPartyRole(List<? extends PartyRole> partyRole) setStatus(AffirmationStatusEnum status) Methods inherited from interface cdm.event.common.Affirmation
build, getStatus, 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
-
getOrCreateIdentifier
-
getIdentifier
List<? extends Identifier.IdentifierBuilder> getIdentifier()Description copied from interface:AffirmationThe identifier(s) associated with the trade and resulting confirmation.- Specified by:
getIdentifierin interfaceAffirmation
-
getOrCreateParty
-
getParty
List<? extends Party.PartyBuilder> getParty()Description copied from interface:AffirmationThe parties associated with the trade.- Specified by:
getPartyin interfaceAffirmation
-
getOrCreatePartyRole
-
getPartyRole
List<? extends PartyRole.PartyRoleBuilder> getPartyRole()Description copied from interface:AffirmationThe role(s) that party(ies) may have in relation to the trade- Specified by:
getPartyRolein interfaceAffirmation
-
getOrCreateLineage
Lineage.LineageBuilder getOrCreateLineage() -
getLineage
Lineage.LineageBuilder getLineage()Description copied from interface:AffirmationThe lineage attribute provides a linkage to previous lifecycle events and associated data.- Specified by:
getLineagein interfaceAffirmation
-
addIdentifier
-
addIdentifier
-
addIdentifier
-
setIdentifier
-
addParty
-
addParty
-
addParty
-
setParty
-
addPartyRole
-
addPartyRole
-
addPartyRole
-
setPartyRole
-
setLineage
-
setStatus
-
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
Affirmation.AffirmationBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-