Class PartyRole.PartyRoleImpl

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

public static class PartyRole.PartyRoleImpl extends Object implements PartyRole
Immutable Implementation of PartyRole
  • Constructor Details

  • Method Details

    • getPartyReference

      @RosettaAttribute(value="partyReference", isRequired=true) @RuneAttribute(value="partyReference", isRequired=true) public ReferenceWithMetaParty getPartyReference()
      Description copied from interface: PartyRole
      A reference to the party to which the role refers to.
      Specified by:
      getPartyReference in interface PartyRole
    • getRole

      @RosettaAttribute(value="role", isRequired=true) @RuneAttribute(value="role", isRequired=true) public PartyRoleEnum getRole()
      Description copied from interface: PartyRole
      The party role.
      Specified by:
      getRole in interface PartyRole
    • getOwnershipPartyReference

      @RosettaAttribute("ownershipPartyReference") @RuneAttribute("ownershipPartyReference") public ReferenceWithMetaParty getOwnershipPartyReference()
      Description copied from interface: PartyRole
      A reference to the party that has ownership of this party role information. FpML specifies that For shared trade information, this attribute will reference the originator of the data (for example, an execution facility or clearing house).
      Specified by:
      getOwnershipPartyReference in interface PartyRole
    • build

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

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

      protected void setBuilderFields(PartyRole.PartyRoleBuilder 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