public class DocumentAuthor
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and 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 and Description |
---|
DocumentAuthor() |
Modifier and Type | Method and 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.
|
private java.lang.String firstName
private java.lang.String lastName
private java.lang.String name
private java.lang.String initials
private java.lang.String title
private java.lang.String position
private java.lang.String email
private java.lang.String phoneNumber
private java.lang.String faxNumber
private java.lang.String companyName
private java.lang.String street
private java.lang.String city
private java.lang.String postalCode
private java.lang.String country
private java.lang.String state
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public java.lang.String getCity()
public java.lang.String getCompanyName()
public java.lang.String getCountry()
public java.lang.String getEmail()
public java.lang.String getFaxNumber()
public java.lang.String getFirstName()
public java.lang.String getInitials()
public java.lang.String getLastName()
public java.lang.String getName()
public java.lang.String getPhoneNumber()
public java.lang.String getPosition()
public java.lang.String getPostalCode()
public java.lang.String getState()
public java.lang.String getStreet()
public java.lang.String getTitle()
public int hashCode()
hashCode
in class java.lang.Object
public void setCity(java.lang.String city)
city
- public void setCompanyName(java.lang.String companyName)
companyName
- public void setCountry(java.lang.String country)
country
- public void setEmail(java.lang.String email)
email
- public void setFaxNumber(java.lang.String faxNumber)
faxNumber
- public void setFirstName(java.lang.String firstName)
firstName
- public void setInitials(java.lang.String initials)
initials
- public void setLastName(java.lang.String lastName)
lastName
- public void setName(java.lang.String name)
name
- public void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber
- public void setPosition(java.lang.String position)
position
- public void setPostalCode(java.lang.String postalCode)
postalCode
- public void setState(java.lang.String state)
state
- public void setStreet(java.lang.String street)
street
- public void setTitle(java.lang.String title)
title
- public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getFullName()
name
if defined, firsName lastName
otherwise.getName()
,
getFirstName()
,
getLastName()