Class LegalEntity.LegalEntityImpl

java.lang.Object
cdm.base.staticdata.party.LegalEntity.LegalEntityImpl
All Implemented Interfaces:
LegalEntity, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
UmbrellaAgreementEntity.UmbrellaAgreementEntityImpl
Enclosing interface:
LegalEntity

public static class LegalEntity.LegalEntityImpl extends Object implements LegalEntity
Immutable Implementation of LegalEntity
  • Constructor Details

  • Method Details

    • getEntityId

      @RosettaAttribute("entityId") @RuneAttribute("entityId") public List<? extends FieldWithMetaString> getEntityId()
      Description copied from interface: LegalEntity
      A legal entity identifier (e.g. RED entity code). This type is deprecated. It is recommended to use entityIdentifier.
      Specified by:
      getEntityId in interface LegalEntity
    • getName

      @RosettaAttribute(value="name", isRequired=true) @RuneAttribute(value="name", isRequired=true) public FieldWithMetaString getName()
      Description copied from interface: LegalEntity
      The legal entity name.
      Specified by:
      getName in interface LegalEntity
    • getEntityIdentifier

      @RosettaAttribute("entityIdentifier") @RuneAttribute("entityIdentifier") public List<? extends EntityIdentifier> getEntityIdentifier()
      Description copied from interface: LegalEntity
      A legal entity identifier with a source (e.g. RED entity code).
      Specified by:
      getEntityIdentifier in interface LegalEntity
    • 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 LegalEntity
    • build

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

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

      protected void setBuilderFields(LegalEntity.LegalEntityBuilder 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