Class DocumentAuthor

  • All Implemented Interfaces:
    java.io.Serializable

    public class DocumentAuthor
    extends java.lang.Object
    implements java.io.Serializable
    An author of the document.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentAuthor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)
      Method equals.
      java.lang.String getCity()
      Get the city name of the address of the author.
      java.lang.String getCompanyName()
      Get the name of the company that employs the author.
      java.lang.String getCountry()
      Get the country of the address of the author.
      java.lang.String getEmail()
      Get the email address of the author.
      java.lang.String getFaxNumber()
      Get the fax number of the author.
      java.lang.String getFirstName()
      Get the first name of the author.
      java.lang.String getFullName()
      Get the full name of the author.
      java.lang.String getInitials()
      Get the initials of the author.
      java.lang.String getLastName()
      Get the last name of the author.
      java.lang.String getName()
      Get the full name of the author, usually as a String of "firstName lastName".
      java.lang.String getPhoneNumber()
      Get the telephone number of the author.
      java.lang.String getPosition()
      Get the position of the author.
      java.lang.String getPostalCode()
      Get the postal code of the address of the author.
      java.lang.String getState()
      Get the state or province of the address of the author, if applicable.
      java.lang.String getStreet()
      Get the street name of the address of the author.
      java.lang.String getTitle()
      Get the title of the author.
      int hashCode()
      Method hashCode.
      void setCity​(java.lang.String city)
      Set the city name of the address of the author.
      void setCompanyName​(java.lang.String companyName)
      Set the name of the company that employs the author.
      void setCountry​(java.lang.String country)
      Set the country of the address of the author.
      void setEmail​(java.lang.String email)
      Set the email address of the author.
      void setFaxNumber​(java.lang.String faxNumber)
      Set the fax number of the author.
      void setFirstName​(java.lang.String firstName)
      Set the first name of the author.
      void setInitials​(java.lang.String initials)
      Set the initials of the author.
      void setLastName​(java.lang.String lastName)
      Set the last name of the author.
      void setName​(java.lang.String name)
      Set the full name of the author, usually as a String of "firstName lastName".
      void setPhoneNumber​(java.lang.String phoneNumber)
      Set the telephone number of the author.
      void setPosition​(java.lang.String position)
      Set the position of the author.
      void setPostalCode​(java.lang.String postalCode)
      Set the postal code of the address of the author.
      void setState​(java.lang.String state)
      Set the state or province of the address of the author, if applicable.
      void setStreet​(java.lang.String street)
      Set the street name of the address of the author.
      void setTitle​(java.lang.String title)
      Set the title of the author.
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DocumentAuthor

        public DocumentAuthor()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Method equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other -
        Returns:
        boolean
      • getCity

        public java.lang.String getCity()
        Get the city name of the address of the author.
        Returns:
        String
      • getCompanyName

        public java.lang.String getCompanyName()
        Get the name of the company that employs the author.
        Returns:
        String
      • getCountry

        public java.lang.String getCountry()
        Get the country of the address of the author.
        Returns:
        String
      • getEmail

        public java.lang.String getEmail()
        Get the email address of the author.
        Returns:
        String
      • getFaxNumber

        public java.lang.String getFaxNumber()
        Get the fax number of the author.
        Returns:
        String
      • getFirstName

        public java.lang.String getFirstName()
        Get the first name of the author.
        Returns:
        String
      • getInitials

        public java.lang.String getInitials()
        Get the initials of the author.
        Returns:
        String
      • getLastName

        public java.lang.String getLastName()
        Get the last name of the author.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Get the full name of the author, usually as a String of "firstName lastName".
        Returns:
        String
        Since:
        1.1.1.
      • getPhoneNumber

        public java.lang.String getPhoneNumber()
        Get the telephone number of the author.
        Returns:
        String
      • getPosition

        public java.lang.String getPosition()
        Get the position of the author.
        Returns:
        String
      • getPostalCode

        public java.lang.String getPostalCode()
        Get the postal code of the address of the author.
        Returns:
        String
      • getState

        public java.lang.String getState()
        Get the state or province of the address of the author, if applicable.
        Returns:
        String
      • getStreet

        public java.lang.String getStreet()
        Get the street name of the address of the author.
        Returns:
        String
      • getTitle

        public java.lang.String getTitle()
        Get the title of the author.
        Returns:
        String
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int
      • setCity

        public void setCity​(java.lang.String city)
        Set the city name of the address of the author.
        Parameters:
        city -
      • setCompanyName

        public void setCompanyName​(java.lang.String companyName)
        Set the name of the company that employs the author.
        Parameters:
        companyName -
      • setCountry

        public void setCountry​(java.lang.String country)
        Set the country of the address of the author.
        Parameters:
        country -
      • setEmail

        public void setEmail​(java.lang.String email)
        Set the email address of the author.
        Parameters:
        email -
      • setFaxNumber

        public void setFaxNumber​(java.lang.String faxNumber)
        Set the fax number of the author.
        Parameters:
        faxNumber -
      • setFirstName

        public void setFirstName​(java.lang.String firstName)
        Set the first name of the author.
        Parameters:
        firstName -
      • setInitials

        public void setInitials​(java.lang.String initials)
        Set the initials of the author.
        Parameters:
        initials -
      • setLastName

        public void setLastName​(java.lang.String lastName)
        Set the last name of the author.
        Parameters:
        lastName -
      • setName

        public void setName​(java.lang.String name)
        Set the full name of the author, usually as a String of "firstName lastName".
        Parameters:
        name -
        Since:
        1.1.1.
      • setPhoneNumber

        public void setPhoneNumber​(java.lang.String phoneNumber)
        Set the telephone number of the author.
        Parameters:
        phoneNumber -
      • setPosition

        public void setPosition​(java.lang.String position)
        Set the position of the author.
        Parameters:
        position -
      • setPostalCode

        public void setPostalCode​(java.lang.String postalCode)
        Set the postal code of the address of the author.
        Parameters:
        postalCode -
      • setState

        public void setState​(java.lang.String state)
        Set the state or province of the address of the author, if applicable.
        Parameters:
        state -
      • setStreet

        public void setStreet​(java.lang.String street)
        Set the street name of the address of the author.
        Parameters:
        street -
      • setTitle

        public void setTitle​(java.lang.String title)
        Set the title of the author.
        Parameters:
        title -
      • toString

        public java.lang.String toString()
        Method toString.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String
      • getFullName

        public java.lang.String getFullName()
        Get the full name of the author.
        Returns:
        name if defined, firsName lastName otherwise.
        Since:
        1.1.1
        See Also:
        getName(), getFirstName(), getLastName()