Package org.apache.maven.doxia.document
Class DocumentAuthor
java.lang.Object
org.apache.maven.doxia.document.DocumentAuthor
- All Implemented Interfaces:
Serializable
An author of the document.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The city name of the address of the author.private String
The name of the company that employs the author.private String
The country of the address of the author.private String
The email address of the author.private String
The fax number of the author.private String
The first name of the author.private String
The initials of the author.private String
The last name of the author.private String
The full name of the author, usually as a String of "firstName lastName".private String
The telephone number of the author.private String
The position of the author.private String
The postal code of the address of the author.private String
The state or province of the address of the author, if applicable.private String
The street name of the address of the author.private String
The title of the author. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Method equals.getCity()
Get the city name of the address of the author.Get the name of the company that employs the author.Get the country of the address of the author.getEmail()
Get the email address of the author.Get the fax number of the author.Get the first name of the author.Get the full name of the author.Get the initials of the author.Get the last name of the author.getName()
Get the full name of the author, usually as a String of "firstName lastName".Get the telephone number of the author.Get the position of the author.Get the postal code of the address of the author.getState()
Get the state or province of the address of the author, if applicable.Get the street name of the address of the author.getTitle()
Get the title of the author.int
hashCode()
Method hashCode.void
Set the city name of the address of the author.void
setCompanyName
(String companyName) Set the name of the company that employs the author.void
setCountry
(String country) Set the country of the address of the author.void
Set the email address of the author.void
setFaxNumber
(String faxNumber) Set the fax number of the author.void
setFirstName
(String firstName) Set the first name of the author.void
setInitials
(String initials) Set the initials of the author.void
setLastName
(String lastName) Set the last name of the author.void
Set the full name of the author, usually as a String of "firstName lastName".void
setPhoneNumber
(String phoneNumber) Set the telephone number of the author.void
setPosition
(String position) Set the position of the author.void
setPostalCode
(String postalCode) Set the postal code of the address of the author.void
Set the state or province of the address of the author, if applicable.void
Set the street name of the address of the author.void
Set the title of the author.toString()
Method toString.
-
Field Details
-
firstName
The first name of the author. -
lastName
The last name of the author. -
name
The full name of the author, usually as a String of "firstName lastName".- Since:
- 1.1.1 .
-
initials
The initials of the author. -
title
The title of the author. -
position
The position of the author. -
email
The email address of the author. -
phoneNumber
The telephone number of the author. -
faxNumber
The fax number of the author. -
companyName
The name of the company that employs the author. -
street
The street name of the address of the author. -
city
The city name of the address of the author. -
postalCode
The postal code of the address of the author. -
country
The country of the address of the author. -
state
The state or province of the address of the author, if applicable.
-
-
Constructor Details
-
DocumentAuthor
public DocumentAuthor()
-
-
Method Details
-
equals
Method equals. -
getCity
Get the city name of the address of the author.- Returns:
- String
-
getCompanyName
Get the name of the company that employs the author.- Returns:
- String
-
getCountry
Get the country of the address of the author.- Returns:
- String
-
getEmail
Get the email address of the author.- Returns:
- String
-
getFaxNumber
Get the fax number of the author.- Returns:
- String
-
getFirstName
Get the first name of the author.- Returns:
- String
-
getInitials
Get the initials of the author.- Returns:
- String
-
getLastName
Get the last name of the author.- Returns:
- String
-
getName
Get the full name of the author, usually as a String of "firstName lastName".- Returns:
- String
- Since:
- 1.1.1.
-
getPhoneNumber
Get the telephone number of the author.- Returns:
- String
-
getPosition
Get the position of the author.- Returns:
- String
-
getPostalCode
Get the postal code of the address of the author.- Returns:
- String
-
getState
Get the state or province of the address of the author, if applicable.- Returns:
- String
-
getStreet
Get the street name of the address of the author.- Returns:
- String
-
getTitle
Get the title of the author.- Returns:
- String
-
hashCode
public int hashCode()Method hashCode. -
setCity
Set the city name of the address of the author.- Parameters:
city
-
-
setCompanyName
Set the name of the company that employs the author.- Parameters:
companyName
-
-
setCountry
Set the country of the address of the author.- Parameters:
country
-
-
setEmail
Set the email address of the author.- Parameters:
email
-
-
setFaxNumber
Set the fax number of the author.- Parameters:
faxNumber
-
-
setFirstName
Set the first name of the author.- Parameters:
firstName
-
-
setInitials
Set the initials of the author.- Parameters:
initials
-
-
setLastName
Set the last name of the author.- Parameters:
lastName
-
-
setName
Set the full name of the author, usually as a String of "firstName lastName".- Parameters:
name
-- Since:
- 1.1.1.
-
setPhoneNumber
Set the telephone number of the author.- Parameters:
phoneNumber
-
-
setPosition
Set the position of the author.- Parameters:
position
-
-
setPostalCode
Set the postal code of the address of the author.- Parameters:
postalCode
-
-
setState
Set the state or province of the address of the author, if applicable.- Parameters:
state
-
-
setStreet
Set the street name of the address of the author.- Parameters:
street
-
-
setTitle
Set the title of the author.- Parameters:
title
-
-
toString
Method toString. -
getFullName
Get the full name of the author.- Returns:
name
if defined,firsName lastName
otherwise.- Since:
- 1.1.1
- See Also:
-