Package org.apache.maven.doxia.document
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentAuthor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equals.StringgetCity()Get the city name of the address of the author.StringgetCompanyName()Get the name of the company that employs the author.StringgetCountry()Get the country of the address of the author.StringgetEmail()Get the email address of the author.StringgetFaxNumber()Get the fax number of the author.StringgetFirstName()Get the first name of the author.StringgetFullName()Get the full name of the author.StringgetInitials()Get the initials of the author.StringgetLastName()Get the last name of the author.StringgetName()Get the full name of the author, usually as a String of "firstName lastName".StringgetPhoneNumber()Get the telephone number of the author.StringgetPosition()Get the position of the author.StringgetPostalCode()Get the postal code of the address of the author.StringgetState()Get the state or province of the address of the author, if applicable.StringgetStreet()Get the street name of the address of the author.StringgetTitle()Get the title of the author.inthashCode()Method hashCode.voidsetCity(String city)Set the city name of the address of the author.voidsetCompanyName(String companyName)Set the name of the company that employs the author.voidsetCountry(String country)Set the country of the address of the author.voidsetEmail(String email)Set the email address of the author.voidsetFaxNumber(String faxNumber)Set the fax number of the author.voidsetFirstName(String firstName)Set the first name of the author.voidsetInitials(String initials)Set the initials of the author.voidsetLastName(String lastName)Set the last name of the author.voidsetName(String name)Set the full name of the author, usually as a String of "firstName lastName".voidsetPhoneNumber(String phoneNumber)Set the telephone number of the author.voidsetPosition(String position)Set the position of the author.voidsetPostalCode(String postalCode)Set the postal code of the address of the author.voidsetState(String state)Set the state or province of the address of the author, if applicable.voidsetStreet(String street)Set the street name of the address of the author.voidsetTitle(String title)Set the title of the author.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Method equals.
-
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
-
setCity
public void setCity(String city)
Set the city name of the address of the author.- Parameters:
city-
-
setCompanyName
public void setCompanyName(String companyName)
Set the name of the company that employs the author.- Parameters:
companyName-
-
setCountry
public void setCountry(String country)
Set the country of the address of the author.- Parameters:
country-
-
setEmail
public void setEmail(String email)
Set the email address of the author.- Parameters:
email-
-
setFaxNumber
public void setFaxNumber(String faxNumber)
Set the fax number of the author.- Parameters:
faxNumber-
-
setFirstName
public void setFirstName(String firstName)
Set the first name of the author.- Parameters:
firstName-
-
setInitials
public void setInitials(String initials)
Set the initials of the author.- Parameters:
initials-
-
setLastName
public void setLastName(String lastName)
Set the last name of the author.- Parameters:
lastName-
-
setName
public void setName(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(String phoneNumber)
Set the telephone number of the author.- Parameters:
phoneNumber-
-
setPosition
public void setPosition(String position)
Set the position of the author.- Parameters:
position-
-
setPostalCode
public void setPostalCode(String postalCode)
Set the postal code of the address of the author.- Parameters:
postalCode-
-
setState
public void setState(String state)
Set the state or province of the address of the author, if applicable.- Parameters:
state-
-
setStreet
public void setStreet(String street)
Set the street name of the address of the author.- Parameters:
street-
-
setTitle
public void setTitle(String title)
Set the title of the author.- Parameters:
title-
-
toString
public String toString()
Method toString.
-
getFullName
public String getFullName()
Get the full name of the author.- Returns:
nameif defined,firsName lastNameotherwise.- Since:
- 1.1.1
- See Also:
getName(),getFirstName(),getLastName()
-
-