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.SerializableAn author of the document.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringcityThe city name of the address of the author.private java.lang.StringcompanyNameThe name of the company that employs the author.private java.lang.StringcountryThe country of the address of the author.private java.lang.StringemailThe email address of the author.private java.lang.StringfaxNumberThe fax number of the author.private java.lang.StringfirstNameThe first name of the author.private java.lang.StringinitialsThe initials of the author.private java.lang.StringlastNameThe last name of the author.private java.lang.StringnameThe full name of the author, usually as a String of "firstName lastName".private java.lang.StringphoneNumberThe telephone number of the author.private java.lang.StringpositionThe position of the author.private java.lang.StringpostalCodeThe postal code of the address of the author.private java.lang.StringstateThe state or province of the address of the author, if applicable.private java.lang.StringstreetThe street name of the address of the author.private java.lang.StringtitleThe title of the author.
-
Constructor Summary
Constructors Constructor Description DocumentAuthor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Method equals.java.lang.StringgetCity()Get the city name of the address of the author.java.lang.StringgetCompanyName()Get the name of the company that employs the author.java.lang.StringgetCountry()Get the country of the address of the author.java.lang.StringgetEmail()Get the email address of the author.java.lang.StringgetFaxNumber()Get the fax number of the author.java.lang.StringgetFirstName()Get the first name of the author.java.lang.StringgetFullName()Get the full name of the author.java.lang.StringgetInitials()Get the initials of the author.java.lang.StringgetLastName()Get the last name of the author.java.lang.StringgetName()Get the full name of the author, usually as a String of "firstName lastName".java.lang.StringgetPhoneNumber()Get the telephone number of the author.java.lang.StringgetPosition()Get the position of the author.java.lang.StringgetPostalCode()Get the postal code of the address of the author.java.lang.StringgetState()Get the state or province of the address of the author, if applicable.java.lang.StringgetStreet()Get the street name of the address of the author.java.lang.StringgetTitle()Get the title of the author.inthashCode()Method hashCode.voidsetCity(java.lang.String city)Set the city name of the address of the author.voidsetCompanyName(java.lang.String companyName)Set the name of the company that employs the author.voidsetCountry(java.lang.String country)Set the country of the address of the author.voidsetEmail(java.lang.String email)Set the email address of the author.voidsetFaxNumber(java.lang.String faxNumber)Set the fax number of the author.voidsetFirstName(java.lang.String firstName)Set the first name of the author.voidsetInitials(java.lang.String initials)Set the initials of the author.voidsetLastName(java.lang.String lastName)Set the last name of the author.voidsetName(java.lang.String name)Set the full name of the author, usually as a String of "firstName lastName".voidsetPhoneNumber(java.lang.String phoneNumber)Set the telephone number of the author.voidsetPosition(java.lang.String position)Set the position of the author.voidsetPostalCode(java.lang.String postalCode)Set the postal code of the address of the author.voidsetState(java.lang.String state)Set the state or province of the address of the author, if applicable.voidsetStreet(java.lang.String street)Set the street name of the address of the author.voidsetTitle(java.lang.String title)Set the title of the author.java.lang.StringtoString()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:
equalsin 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:
hashCodein 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:
toStringin classjava.lang.Object- Returns:
- String
-
getFullName
public java.lang.String getFullName()
Get the full name of the author.- Returns:
nameif defined,firsName lastNameotherwise.- Since:
- 1.1.1
- See Also:
getName(),getFirstName(),getLastName()
-
-