Class NaturalPerson.NaturalPersonImpl

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

public static class NaturalPerson.NaturalPersonImpl extends Object implements NaturalPerson
Immutable Implementation of NaturalPerson
  • Constructor Details

  • Method Details

    • getPersonId

      @RosettaAttribute("personId") @RuneAttribute("personId") public List<? extends FieldWithMetaPersonIdentifier> getPersonId()
      Description copied from interface: NaturalPerson
      The identifier associated with a person, e.g. the internal identification code.
      Specified by:
      getPersonId in interface NaturalPerson
    • getHonorific

      @RosettaAttribute("honorific") @RuneAttribute("honorific") public String getHonorific()
      Description copied from interface: NaturalPerson
      An honorific title, such as Mr., Ms., Dr. etc.
      Specified by:
      getHonorific in interface NaturalPerson
    • getFirstName

      @RosettaAttribute("firstName") @RuneAttribute("firstName") public String getFirstName()
      Description copied from interface: NaturalPerson
      The natural person's first name. It is optional in FpML.
      Specified by:
      getFirstName in interface NaturalPerson
    • getMiddleName

      @RosettaAttribute("middleName") @RuneAttribute("middleName") public List<String> getMiddleName()
      Description copied from interface: NaturalPerson
      The natural person's middle name(s). If a middle name is provided then an initial should be absent.
      Specified by:
      getMiddleName in interface NaturalPerson
    • getInitial

      @RosettaAttribute("initial") @RuneAttribute("initial") public List<String> getInitial()
      Description copied from interface: NaturalPerson
      The natural person's middle initial(s). If a middle initial is provided then a name should be absent.
      Specified by:
      getInitial in interface NaturalPerson
    • getSurname

      @RosettaAttribute("surname") @RuneAttribute("surname") public String getSurname()
      Description copied from interface: NaturalPerson
      The natural person's surname.
      Specified by:
      getSurname in interface NaturalPerson
    • getSuffix

      @RosettaAttribute("suffix") @RuneAttribute("suffix") public String getSuffix()
      Description copied from interface: NaturalPerson
      Name suffix, such as Jr., III, etc.
      Specified by:
      getSuffix in interface NaturalPerson
    • getDateOfBirth

      @RosettaAttribute("dateOfBirth") @RuneAttribute("dateOfBirth") public com.rosetta.model.lib.records.Date getDateOfBirth()
      Description copied from interface: NaturalPerson
      The natural person's date of birth.
      Specified by:
      getDateOfBirth in interface NaturalPerson
    • getContactInformation

      @RosettaAttribute("contactInformation") @RuneAttribute("contactInformation") public ContactInformation getContactInformation()
      Description copied from interface: NaturalPerson
      The contact information for such person, when different from the contact information associated with the party.
      Specified by:
      getContactInformation in interface NaturalPerson
    • getPersonRole

      @RosettaAttribute("personRole") @RuneAttribute("personRole") public List<? extends NaturalPersonRole> getPersonRole()
      Description copied from interface: NaturalPerson
      The role of the person(s)
      Specified by:
      getPersonRole in interface NaturalPerson
    • 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 NaturalPerson
    • build

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

      Specified by:
      toBuilder in interface NaturalPerson
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(NaturalPerson.NaturalPersonBuilder 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