Class DocumentAuthor

java.lang.Object
org.apache.maven.doxia.document.DocumentAuthor
All Implemented Interfaces:
Serializable

public class DocumentAuthor extends Object implements Serializable
An author of the document.
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • firstName

      private String firstName
      The first name of the author.
    • lastName

      private String lastName
      The last name of the author.
    • name

      private String name
      The full name of the author, usually as a String of "firstName lastName".
      Since:
      1.1.1 .
    • initials

      private String initials
      The initials of the author.
    • title

      private String title
      The title of the author.
    • position

      private String position
      The position of the author.
    • email

      private String email
      The email address of the author.
    • phoneNumber

      private String phoneNumber
      The telephone number of the author.
    • faxNumber

      private String faxNumber
      The fax number of the author.
    • companyName

      private String companyName
      The name of the company that employs the author.
    • street

      private String street
      The street name of the address of the author.
    • city

      private String city
      The city name of the address of the author.
    • postalCode

      private String postalCode
      The postal code of the address of the author.
    • country

      private String country
      The country of the address of the author.
    • state

      private String state
      The state or province of the address of the author, if applicable.
  • Constructor Details

    • DocumentAuthor

      public DocumentAuthor()
  • Method Details

    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      Returns:
      boolean
    • getCity

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setCity(String city)
      Set the city name of the address of the author.
      Parameters:
      city - a city object.
    • setCompanyName

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

      public void setCountry(String country)
      Set the country of the address of the author.
      Parameters:
      country - a country object.
    • setEmail

      public void setEmail(String email)
      Set the email address of the author.
      Parameters:
      email - a email object.
    • setFaxNumber

      public void setFaxNumber(String faxNumber)
      Set the fax number of the author.
      Parameters:
      faxNumber - a faxNumber object.
    • setFirstName

      public void setFirstName(String firstName)
      Set the first name of the author.
      Parameters:
      firstName - a firstName object.
    • setInitials

      public void setInitials(String initials)
      Set the initials of the author.
      Parameters:
      initials - a initials object.
    • setLastName

      public void setLastName(String lastName)
      Set the last name of the author.
      Parameters:
      lastName - a lastName object.
    • setName

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

      public void setPhoneNumber(String phoneNumber)
      Set the telephone number of the author.
      Parameters:
      phoneNumber - a phoneNumber object.
    • setPosition

      public void setPosition(String position)
      Set the position of the author.
      Parameters:
      position - a position object.
    • setPostalCode

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

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

      public void setStreet(String street)
      Set the street name of the address of the author.
      Parameters:
      street - a street object.
    • setTitle

      public void setTitle(String title)
      Set the title of the author.
      Parameters:
      title - a title object.
    • toString

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

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