|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.Document
public class Document
This class encapsulates information about format specification documents.
DocumentType
Constructor Summary | |
---|---|
Document(java.lang.String title,
DocumentType type)
Creates a Document with a given title and one of the predefined DocumentTypes. |
Method Summary | |
---|---|
java.util.List |
getAuthor()
Returns a List of Agents, each representing an author of this Document. |
java.lang.String |
getDate()
Returns the date of this Document |
java.lang.String |
getEdition()
Returns informaton on the edition of this Document |
java.lang.String |
getEnumeration()
Returns the enumeration (e.g., serial volume and number) of this Document |
java.util.List |
getIdentifier()
Returns the list of formal Identifiers for this Document. |
java.lang.String |
getNote()
Returns the note associated with this Document |
java.lang.String |
getPages()
Returns pagination information for this Document |
java.util.List |
getPublisher()
Returns a List of Agents, each representing a publisher of this Document. |
java.lang.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(java.lang.String date)
Sets the date of this Document |
void |
setEdition(java.lang.String edition)
Sets edition information for this Document |
void |
setEnumeration(java.lang.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(java.lang.String note)
Sets a note giving additional information about this Document |
void |
setPages(java.lang.String pages)
Sets pagination information for this Document |
void |
setPublisher(Agent publisher)
Adds a publisher to the list of publishers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Document(java.lang.String title, DocumentType type)
Method Detail |
---|
public java.util.List getAuthor()
Agent
public java.lang.String getDate()
public java.lang.String getEdition()
public java.lang.String getEnumeration()
public java.util.List getIdentifier()
public java.lang.String getNote()
public java.lang.String getPages()
public java.util.List getPublisher()
public java.lang.String getTitle()
public DocumentType getType()
public void setAuthor(Agent author)
public void setDate(java.lang.String date)
public void setEdition(java.lang.String edition)
public void setEnumeration(java.lang.String enm)
public void setIdentifier(Identifier identifier)
public void setNote(java.lang.String note)
public void setPages(java.lang.String pages)
public void setPublisher(Agent publisher)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |