Package cdm.base.staticdata.party
Interface Party.PartyBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,Party,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Party.PartyBuilderImpl
- Enclosing interface:
Party
public static interface Party.PartyBuilder
extends Party, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
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.base.staticdata.party.Party
Party.PartyBuilder, Party.PartyBuilderImpl, Party.PartyImpl -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddBusinessUnit(BusinessUnit businessUnit) addBusinessUnit(BusinessUnit businessUnit, int idx) addBusinessUnit(List<? extends BusinessUnit> businessUnit) addPartyId(PartyIdentifier partyId) addPartyId(PartyIdentifier partyId, int idx) addPartyId(List<? extends PartyIdentifier> partyId) addPerson(NaturalPerson person) addPerson(NaturalPerson person, int idx) addPerson(List<? extends NaturalPerson> person) addPersonRole(NaturalPersonRole personRole) addPersonRole(NaturalPersonRole personRole, int idx) addPersonRole(List<? extends NaturalPersonRole> personRole) The account that might be associated with the party.List<? extends BusinessUnit.BusinessUnitBuilder> Optional organization unit information used to describe the organization units (e.g. trading desks) involved in a transaction or business process, incl. the contact information (when relevant).The postal/street address, telephone number, email address and/or web page.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()getName()The party name.getOrCreateBusinessUnit(int index) com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreatePartyId(int index) getOrCreatePerson(int index) getOrCreatePersonRole(int index) List<? extends PartyIdentifier.PartyIdentifierBuilder> The identifier associated with a party, e.g. the 20 digits LEI code.List<? extends NaturalPerson.NaturalPersonBuilder> The person(s) who might be associated with the party as part of the execution, contract or legal document.List<? extends NaturalPersonRole.NaturalPersonRoleBuilder> The role of the person(s)default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAccount(Account account) setBusinessUnit(List<? extends BusinessUnit> businessUnit) setContactInformation(ContactInformation contactInformation) setMeta(com.rosetta.model.metafields.MetaFields meta) setName(FieldWithMetaString name) setNameValue(String name) setPartyId(List<? extends PartyIdentifier> partyId) setPerson(List<? extends NaturalPerson> person) setPersonRole(List<? extends NaturalPersonRole> personRole) Methods inherited from interface cdm.base.staticdata.party.Party
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
-
getOrCreatePartyId
-
getPartyId
List<? extends PartyIdentifier.PartyIdentifierBuilder> getPartyId()Description copied from interface:PartyThe identifier associated with a party, e.g. the 20 digits LEI code.- Specified by:
getPartyIdin interfaceParty
-
getOrCreateName
FieldWithMetaString.FieldWithMetaStringBuilder getOrCreateName() -
getName
Description copied from interface:PartyThe party name. -
getOrCreateBusinessUnit
-
getBusinessUnit
List<? extends BusinessUnit.BusinessUnitBuilder> getBusinessUnit()Description copied from interface:PartyOptional organization unit information used to describe the organization units (e.g. trading desks) involved in a transaction or business process, incl. the contact information (when relevant).- Specified by:
getBusinessUnitin interfaceParty
-
getOrCreatePerson
-
getPerson
List<? extends NaturalPerson.NaturalPersonBuilder> getPerson()Description copied from interface:PartyThe person(s) who might be associated with the party as part of the execution, contract or legal document. -
getOrCreatePersonRole
-
getPersonRole
List<? extends NaturalPersonRole.NaturalPersonRoleBuilder> getPersonRole()Description copied from interface:PartyThe role of the person(s)- Specified by:
getPersonRolein interfaceParty
-
getOrCreateAccount
Account.AccountBuilder getOrCreateAccount() -
getAccount
Account.AccountBuilder getAccount()Description copied from interface:PartyThe account that might be associated with the party. At most one account can be specified, as it is expected that this information is used in the context of a contract or legal document where only one account per party can be associated with such object.- Specified by:
getAccountin interfaceParty
-
getOrCreateContactInformation
ContactInformation.ContactInformationBuilder getOrCreateContactInformation() -
getContactInformation
ContactInformation.ContactInformationBuilder getContactInformation()Description copied from interface:PartyThe postal/street address, telephone number, email address and/or web page. If the contact information is specific to the associated business unit(s) or person (s), it should be associated with those.- Specified by:
getContactInformationin interfaceParty
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta() -
addPartyId
-
addPartyId
-
addPartyId
-
setPartyId
-
setName
-
setNameValue
-
addBusinessUnit
-
addBusinessUnit
-
addBusinessUnit
-
setBusinessUnit
-
addPerson
-
addPerson
-
addPerson
-
setPerson
-
addPersonRole
-
addPersonRole
-
addPersonRole
-
setPersonRole
-
setAccount
-
setContactInformation
-
setMeta
-
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
Party.PartyBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-