org.apache.maven.doxia.document
Class DocumentAuthor

java.lang.Object
  extended by org.apache.maven.doxia.document.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
DocumentAuthor()
           
 
Method Summary
 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 getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
           
 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 -

getCity

public java.lang.String getCity()
Get The city name of the address of the author.


getCompanyName

public java.lang.String getCompanyName()
Get The name of the company that employs the author.


getCountry

public java.lang.String getCountry()
Get The country of the address of the author.


getEmail

public java.lang.String getEmail()
Get The email address of the author.


getFaxNumber

public java.lang.String getFaxNumber()
Get The fax number of the author.


getFirstName

public java.lang.String getFirstName()
Get The first name of the author.


getInitials

public java.lang.String getInitials()
Get The initials of the author.


getLastName

public java.lang.String getLastName()
Get The last name of the author.


getName

public java.lang.String getName()
Get The full name of the author, usually as a String of "firstName lastName".

Since:
1.1.1

getPhoneNumber

public java.lang.String getPhoneNumber()
Get The telephone number of the author.


getPosition

public java.lang.String getPosition()
Get The position of the author.


getPostalCode

public java.lang.String getPostalCode()
Get The postal code of the address of the author.


getState

public java.lang.String getState()
Get The state or province of the address of the author, if applicable.


getStreet

public java.lang.String getStreet()
Get The street name of the address of the author.


getTitle

public java.lang.String getTitle()
Get The title of the author.


hashCode

public int hashCode()
Method hashCode

Overrides:
hashCode in class java.lang.Object

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

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()

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.