Package org.apache.maven.doxia.document
Class DocumentAuthor
- java.lang.Object
-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
city
The city name of the address of the author.private java.lang.String
companyName
The name of the company that employs the author.private java.lang.String
country
The country of the address of the author.private java.lang.String
email
The email address of the author.private java.lang.String
faxNumber
The fax number of the author.private java.lang.String
firstName
The first name of the author.private java.lang.String
initials
The initials of the author.private java.lang.String
lastName
The last name of the author.private java.lang.String
name
The full name of the author, usually as a String of "firstName lastName".private java.lang.String
phoneNumber
The telephone number of the author.private java.lang.String
position
The position of the author.private java.lang.String
postalCode
The postal code of the address of the author.private java.lang.String
state
The state or province of the address of the author, if applicable.private java.lang.String
street
The street name of the address of the author.private java.lang.String
title
The title of the author.
-
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.
-
-
-
Field Detail
-
firstName
private java.lang.String firstName
The first name of the author.
-
lastName
private java.lang.String lastName
The last name of the author.
-
name
private java.lang.String name
The full name of the author, usually as a String of "firstName lastName".- Since:
- 1.1.1 .
-
initials
private java.lang.String initials
The initials of the author.
-
title
private java.lang.String title
The title of the author.
-
position
private java.lang.String position
The position of the author.
-
email
private java.lang.String email
The email address of the author.
-
phoneNumber
private java.lang.String phoneNumber
The telephone number of the author.
-
faxNumber
private java.lang.String faxNumber
The fax number of the author.
-
companyName
private java.lang.String companyName
The name of the company that employs the author.
-
street
private java.lang.String street
The street name of the address of the author.
-
city
private java.lang.String city
The city name of the address of the author.
-
postalCode
private java.lang.String postalCode
The postal code of the address of the author.
-
country
private java.lang.String country
The country of the address of the author.
-
state
private java.lang.String state
The state or province of the address of the author, if applicable.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equals
in classjava.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 classjava.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 classjava.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()
-
-