public class Document extends Object
DocumentType
Constructor and Description |
---|
Document(String title,
DocumentType type)
Creates a Document with a given title and one of the predefined
DocumentTypes.
|
Modifier and Type | Method and Description |
---|---|
List |
getAuthor()
Returns a List of Agents, each representing an author of this
Document.
|
String |
getDate()
Returns the date of this Document
|
String |
getEdition()
Returns informaton on the edition of this Document
|
String |
getEnumeration()
Returns the enumeration (e.g., serial volume and number)
of this Document
|
List |
getIdentifier()
Returns the list of formal Identifiers for this Document.
|
String |
getNote()
Returns the note associated with this Document
|
String |
getPages()
Returns pagination information for this Document
|
List |
getPublisher()
Returns a List of Agents, each representing a publisher of this
Document.
|
String |
getTitle()
Returns the title of this Document
|
DocumentType |
getType()
Returns one of the predefined DocumentTypes as the type of
this Document
|
void |
setAuthor(Agent author)
Adds an author to the list of authors
|
void |
setDate(String date)
Sets the date of this Document
|
void |
setEdition(String edition)
Sets edition information for this Document
|
void |
setEnumeration(String enm)
Sets enumeration information (e.g., serial volume and number)
for this Document
|
void |
setIdentifier(Identifier identifier)
Adds an Identifier to the list of identifiers
|
void |
setNote(String note)
Sets a note giving additional information about this Document
|
void |
setPages(String pages)
Sets pagination information for this Document
|
void |
setPublisher(Agent publisher)
Adds a publisher to the list of publishers
|
public Document(String title, DocumentType type)
public List getAuthor()
Agent
public String getDate()
public String getEdition()
public String getEnumeration()
public List getIdentifier()
public String getNote()
public String getPages()
public List getPublisher()
public String getTitle()
public DocumentType getType()
public void setAuthor(Agent author)
public void setDate(String date)
public void setEdition(String edition)
public void setEnumeration(String enm)
public void setIdentifier(Identifier identifier)
public void setNote(String note)
public void setPages(String pages)
public void setPublisher(Agent publisher)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.