Package cdm.base.staticdata.party
Class Party.PartyBuilderImpl
java.lang.Object
cdm.base.staticdata.party.Party.PartyBuilderImpl
- All Implemented Interfaces:
Party,Party.PartyBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
Party
Builder Implementation of Party
-
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
FieldsModifier and TypeFieldDescriptionprotected Account.AccountBuilderprotected List<BusinessUnit.BusinessUnitBuilder> protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected List<PartyIdentifier.PartyIdentifierBuilder> protected List<NaturalPerson.NaturalPersonBuilder> protected List<NaturalPersonRole.NaturalPersonRoleBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBusinessUnit(BusinessUnit _businessUnit) addBusinessUnit(BusinessUnit _businessUnit, int idx) addBusinessUnit(List<? extends BusinessUnit> businessUnits) addPartyId(PartyIdentifier _partyId) addPartyId(PartyIdentifier _partyId, int idx) addPartyId(List<? extends PartyIdentifier> partyIds) addPerson(NaturalPerson _person) addPerson(NaturalPerson _person, int idx) addPerson(List<? extends NaturalPerson> persons) addPersonRole(NaturalPersonRole _personRole) addPersonRole(NaturalPersonRole _personRole, int idx) addPersonRole(List<? extends NaturalPersonRole> personRoles) build()Build MethodsbooleanThe 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)booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAccount(Account _account) setBusinessUnit(List<? extends BusinessUnit> businessUnits) setContactInformation(ContactInformation _contactInformation) setMeta(com.rosetta.model.metafields.MetaFields _meta) setName(FieldWithMetaString _name) setNameValue(String _name) setPartyId(List<? extends PartyIdentifier> partyIds) setPerson(List<? extends NaturalPerson> persons) setPersonRole(List<? extends NaturalPersonRole> personRoles) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.staticdata.party.Party.PartyBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
partyId
-
name
-
businessUnit
-
person
-
personRole
-
account
-
contactInformation
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
PartyBuilderImpl
public PartyBuilderImpl()
-
-
Method Details
-
getPartyId
@RosettaAttribute(value="partyId", isRequired=true) @RuneAttribute(value="partyId", isRequired=true) public 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- Specified by:
getPartyIdin interfaceParty.PartyBuilder
-
getOrCreatePartyId
- Specified by:
getOrCreatePartyIdin interfaceParty.PartyBuilder
-
getName
@RosettaAttribute("name") @RuneAttribute("name") public FieldWithMetaString.FieldWithMetaStringBuilder getName()Description copied from interface:PartyThe party name.- Specified by:
getNamein interfaceParty- Specified by:
getNamein interfaceParty.PartyBuilder
-
getOrCreateName
- Specified by:
getOrCreateNamein interfaceParty.PartyBuilder
-
getBusinessUnit
@RosettaAttribute("businessUnit") @RuneAttribute("businessUnit") public 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- Specified by:
getBusinessUnitin interfaceParty.PartyBuilder
-
getOrCreateBusinessUnit
- Specified by:
getOrCreateBusinessUnitin interfaceParty.PartyBuilder
-
getPerson
@RosettaAttribute("person") @RuneAttribute("person") public 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.- Specified by:
getPersonin interfaceParty- Specified by:
getPersonin interfaceParty.PartyBuilder
-
getOrCreatePerson
- Specified by:
getOrCreatePersonin interfaceParty.PartyBuilder
-
getPersonRole
@RosettaAttribute("personRole") @RuneAttribute("personRole") public List<? extends NaturalPersonRole.NaturalPersonRoleBuilder> getPersonRole()Description copied from interface:PartyThe role of the person(s)- Specified by:
getPersonRolein interfaceParty- Specified by:
getPersonRolein interfaceParty.PartyBuilder
-
getOrCreatePersonRole
- Specified by:
getOrCreatePersonRolein interfaceParty.PartyBuilder
-
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- Specified by:
getAccountin interfaceParty.PartyBuilder
-
getOrCreateAccount
- Specified by:
getOrCreateAccountin interfaceParty.PartyBuilder
-
getContactInformation
@RosettaAttribute("contactInformation") @RuneAttribute("contactInformation") public 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- Specified by:
getContactInformationin interfaceParty.PartyBuilder
-
getOrCreateContactInformation
- Specified by:
getOrCreateContactInformationin interfaceParty.PartyBuilder
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceParty- Specified by:
getMetain interfaceParty.PartyBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfaceParty.PartyBuilder
-
addPartyId
@RosettaAttribute(value="partyId", isRequired=true) @RuneAttribute(value="partyId", isRequired=true) public Party.PartyBuilder addPartyId(PartyIdentifier _partyId) - Specified by:
addPartyIdin interfaceParty.PartyBuilder
-
addPartyId
- Specified by:
addPartyIdin interfaceParty.PartyBuilder
-
addPartyId
- Specified by:
addPartyIdin interfaceParty.PartyBuilder
-
setPartyId
@RuneAttribute("partyId") public Party.PartyBuilder setPartyId(List<? extends PartyIdentifier> partyIds) - Specified by:
setPartyIdin interfaceParty.PartyBuilder
-
setName
@RosettaAttribute("name") @RuneAttribute("name") public Party.PartyBuilder setName(FieldWithMetaString _name) - Specified by:
setNamein interfaceParty.PartyBuilder
-
setNameValue
- Specified by:
setNameValuein interfaceParty.PartyBuilder
-
addBusinessUnit
@RosettaAttribute("businessUnit") @RuneAttribute("businessUnit") public Party.PartyBuilder addBusinessUnit(BusinessUnit _businessUnit) - Specified by:
addBusinessUnitin interfaceParty.PartyBuilder
-
addBusinessUnit
- Specified by:
addBusinessUnitin interfaceParty.PartyBuilder
-
addBusinessUnit
- Specified by:
addBusinessUnitin interfaceParty.PartyBuilder
-
setBusinessUnit
@RuneAttribute("businessUnit") public Party.PartyBuilder setBusinessUnit(List<? extends BusinessUnit> businessUnits) - Specified by:
setBusinessUnitin interfaceParty.PartyBuilder
-
addPerson
@RosettaAttribute("person") @RuneAttribute("person") public Party.PartyBuilder addPerson(NaturalPerson _person) - Specified by:
addPersonin interfaceParty.PartyBuilder
-
addPerson
- Specified by:
addPersonin interfaceParty.PartyBuilder
-
addPerson
- Specified by:
addPersonin interfaceParty.PartyBuilder
-
setPerson
- Specified by:
setPersonin interfaceParty.PartyBuilder
-
addPersonRole
@RosettaAttribute("personRole") @RuneAttribute("personRole") public Party.PartyBuilder addPersonRole(NaturalPersonRole _personRole) - Specified by:
addPersonRolein interfaceParty.PartyBuilder
-
addPersonRole
- Specified by:
addPersonRolein interfaceParty.PartyBuilder
-
addPersonRole
- Specified by:
addPersonRolein interfaceParty.PartyBuilder
-
setPersonRole
@RuneAttribute("personRole") public Party.PartyBuilder setPersonRole(List<? extends NaturalPersonRole> personRoles) - Specified by:
setPersonRolein interfaceParty.PartyBuilder
-
setAccount
@RosettaAttribute("account") @RuneAttribute("account") public Party.PartyBuilder setAccount(Account _account) - Specified by:
setAccountin interfaceParty.PartyBuilder
-
setContactInformation
@RosettaAttribute("contactInformation") @RuneAttribute("contactInformation") public Party.PartyBuilder setContactInformation(ContactInformation _contactInformation) - Specified by:
setContactInformationin interfaceParty.PartyBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public Party.PartyBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceParty.PartyBuilder
-
build
Description copied from interface:PartyBuild Methods -
toBuilder
-
prune
- Specified by:
prunein interfaceParty.PartyBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public Party.PartyBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-