Class Party.PartyImpl

java.lang.Object
cdm.base.staticdata.party.Party.PartyImpl
All Implemented Interfaces:
Party, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Party

public static class Party.PartyImpl extends Object implements Party
Immutable Implementation of Party
  • Constructor Details

  • Method Details

    • getPartyId

      @RosettaAttribute(value="partyId", isRequired=true) @RuneAttribute(value="partyId", isRequired=true) public List<? extends PartyIdentifier> getPartyId()
      Description copied from interface: Party
      The identifier associated with a party, e.g. the 20 digits LEI code.
      Specified by:
      getPartyId in interface Party
    • getName

      @RosettaAttribute("name") @RuneAttribute("name") public FieldWithMetaString getName()
      Description copied from interface: Party
      The party name.
      Specified by:
      getName in interface Party
    • getBusinessUnit

      @RosettaAttribute("businessUnit") @RuneAttribute("businessUnit") public List<? extends BusinessUnit> getBusinessUnit()
      Description copied from interface: Party
      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).
      Specified by:
      getBusinessUnit in interface Party
    • getPerson

      @RosettaAttribute("person") @RuneAttribute("person") public List<? extends NaturalPerson> getPerson()
      Description copied from interface: Party
      The person(s) who might be associated with the party as part of the execution, contract or legal document.
      Specified by:
      getPerson in interface Party
    • getPersonRole

      @RosettaAttribute("personRole") @RuneAttribute("personRole") public List<? extends NaturalPersonRole> getPersonRole()
      Description copied from interface: Party
      The role of the person(s)
      Specified by:
      getPersonRole in interface Party
    • getAccount

      @RosettaAttribute("account") @RuneAttribute("account") public Account getAccount()
      Description copied from interface: Party
      The 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:
      getAccount in interface Party
    • getContactInformation

      @RosettaAttribute("contactInformation") @RuneAttribute("contactInformation") public ContactInformation getContactInformation()
      Description copied from interface: Party
      The 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:
      getContactInformation in interface Party
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface Party
    • build

      public Party build()
      Description copied from interface: Party
      Build Methods
      Specified by:
      build in interface Party
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Party.PartyBuilder toBuilder()
      Specified by:
      toBuilder in interface Party
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Party.PartyBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object