Class PersonBase

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>, java.io.Serializable
    Direct Known Subclasses:
    Person

    @Valid
    public abstract class PersonBase
    extends Partner
    See Also:
    Serialized Form
    • Constructor Detail

      • PersonBase

        protected PersonBase()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • PersonBase

        protected PersonBase​(PersonBase.BuilderBase pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • getSurname

        public java.lang.String getSurname()
        Method returns attribute surname.
        Returns:
        String Value to which surname is set.
      • setSurname

        public void setSurname​(java.lang.String pSurname)
        Method sets attribute surname.
        Parameters:
        pSurname - Value to which surname should be set.
      • getFirstName

        public java.lang.String getFirstName()
        Method returns attribute firstName.
        Returns:
        String Value to which firstName is set.
      • setFirstName

        public void setFirstName​(java.lang.String pFirstName)
        Method sets attribute firstName.
        Parameters:
        pFirstName - Value to which firstName should be set.
      • getDisplayName

        public abstract java.lang.String getDisplayName()
        Returns:
        String
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Overrides:
        toStringBuilder in class Partner
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class Partner
        Returns:
        String String representation of this object. The method never returns null.