public class DocumentCover extends Object implements Serializable
Constructor and Description |
---|
DocumentCover() |
Modifier and Type | Method and Description |
---|---|
void |
addAuthor(DocumentAuthor documentAuthor)
Method addAuthor.
|
boolean |
equals(Object other)
Method equals.
|
String |
getAllAuthorNames() |
String |
getAuthor()
Get a shortcut for the unique author that appears on the
cover page.
|
List<DocumentAuthor> |
getAuthors()
Method getAuthors.
|
String |
getCompanyLogo()
Get the location of an image file that represents the
company logo.
|
String |
getCompanyName()
Get the name of the entity that is responsible for the
content of the
document, or a copyright holder.
|
String |
getCoverdate()
Get the date to appear on the cover.
|
Date |
getCoverDate()
Get the date to appear on the cover.
|
String |
getCoverSubTitle()
Get a sub-title to appear on the cover.
|
String |
getCoverTitle()
Get the title to appear on the cover.
|
String |
getCoverType()
Get the type of the document.
|
String |
getCoverVersion()
Get the version of the project that appears on the cover
page.
|
String |
getProjectLogo()
Get the location of an image file that represents the
project logo.
|
String |
getProjectName()
Get the name of the project.
|
int |
hashCode()
Method hashCode.
|
void |
removeAuthor(DocumentAuthor documentAuthor)
Method removeAuthor.
|
void |
setAuthor(String author)
Set a shortcut for the unique author that appears on the
cover page.
|
void |
setAuthors(List<DocumentAuthor> authors)
Set the authors that appear on the cover page.
|
void |
setCompanyLogo(String companyLogo)
Set the location of an image file that represents the
company logo.
|
void |
setCompanyName(String companyName)
Set the name of the entity that is responsible for the
content of the
document, or a copyright holder.
|
void |
setCoverDate(Date coverDate)
Set the date to appear on the cover.
|
void |
setCoverdate(String coverdate)
Set the date as String (recommended format is ISO 8601) to
appear on the cover.
|
void |
setCoverSubTitle(String coverSubTitle)
Set a sub-title to appear on the cover.
|
void |
setCoverTitle(String coverTitle)
Set the title to appear on the cover.
|
void |
setCoverType(String coverType)
Set the type of the document.
|
void |
setCoverVersion(String coverVersion)
Set the version of the project that appears on the cover
page.
|
void |
setProjectLogo(String projectLogo)
Set the location of an image file that represents the
project logo.
|
void |
setProjectName(String projectName)
Set the name of the project.
|
String |
toString()
Method toString.
|
public void addAuthor(DocumentAuthor documentAuthor)
documentAuthor
- a documentAuthor object.public boolean equals(Object other)
public String getAuthor()
public List<DocumentAuthor> getAuthors()
public String getCompanyLogo()
public String getCompanyName()
public Date getCoverDate()
public String getCoverSubTitle()
public String getCoverTitle()
public String getCoverType()
public String getCoverVersion()
public String getProjectLogo()
public String getProjectName()
public void removeAuthor(DocumentAuthor documentAuthor)
documentAuthor
- a documentAuthor object.public void setAuthor(String author)
author
- a author object.public void setAuthors(List<DocumentAuthor> authors)
authors
- a authors object.public void setCompanyLogo(String companyLogo)
companyLogo
- a companyLogo object.public void setCompanyName(String companyName)
companyName
- a companyName object.public void setCoverDate(Date coverDate)
coverDate
- a coverDate object.public void setCoverSubTitle(String coverSubTitle)
coverSubTitle
- a coverSubTitle object.public void setCoverTitle(String coverTitle)
coverTitle
- a coverTitle object.public void setCoverType(String coverType)
coverType
- a coverType object.public void setCoverVersion(String coverVersion)
coverVersion
- a coverVersion object.public void setCoverdate(String coverdate)
coverDate
is not set.coverdate
- a coverdate object.public void setProjectLogo(String projectLogo)
projectLogo
- a projectLogo object.public void setProjectName(String projectName)
projectName
- a projectName object.public String toString()
public String getAllAuthorNames()
getAuthor()
if the unique author name is defined. Otherwise, return all authors full names
comma separated.getAuthor()
,
getAuthors()
public String getCoverdate()
getCoverDate()
if setted, formatted using ISO-8601 English format, otherwise return
the coverdate
.getCoverDate()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.