|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.p13n.content.document.ref.DefaultDocumentMetadata
A concreate implementation of DocumentMetadata.
Field Summary | |
protected java.util.Map |
attributes
The map of attribute name to attribute value. |
protected java.lang.String |
author
The document author. |
protected java.lang.String |
comments
The document comments. |
protected java.sql.Timestamp |
creationDate
The document creation date. |
protected java.lang.String |
description
The document description. |
protected java.lang.String |
id
The document id. |
protected java.lang.String |
lastModifiedBy
The document last modified by. |
protected java.sql.Timestamp |
lastModifiedDate
The document last modified date. |
protected java.lang.String |
lockedBy
The document locked by. |
protected java.lang.String |
mimeType
The document mime type. |
protected java.lang.String |
name
The document name. |
protected long |
size
The document size. |
protected int |
version
The document version. |
Constructor Summary | |
DefaultDocumentMetadata()
Constructor. |
|
DefaultDocumentMetadata(java.lang.String id)
Constructor. |
|
DefaultDocumentMetadata(java.lang.String id,
java.lang.String name)
Constructor. |
|
DefaultDocumentMetadata(java.lang.String id,
java.lang.String name,
java.lang.String mimeType)
Constructor. |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Get the named attribute. |
java.util.Collection |
getAttributeNames()
Return the collection of the attribute names. |
java.util.Map |
getAttributes()
Get the map of attribute names to attribute values. |
java.lang.String |
getAuthor()
Get the document author. |
java.lang.String |
getComments()
Get the document comments. |
java.sql.Timestamp |
getCreationDate()
Get the document creation date. |
java.lang.String |
getDescription()
Get the document description. |
java.lang.String |
getID()
Get the document id. |
java.lang.String |
getLastModifiedBy()
Get the document last modified by. |
java.sql.Timestamp |
getLastModifiedDate()
Get the last modified date. |
java.lang.String |
getLockedBy()
Get the document locked by. |
java.lang.String |
getMimeType()
Get the mime type. |
java.lang.String |
getName()
Get the document name. |
long |
getSize()
Get the document size. |
int |
getVersion()
Get the document version. |
void |
setAuthor(java.lang.String author)
Set the document author. |
void |
setComments(java.lang.String comments)
Set the document comments. |
void |
setCreationDate(java.sql.Timestamp date)
Set the document creation date. |
void |
setDescription(java.lang.String description)
Set the document description. |
void |
setID(java.lang.String id)
Set the document id. |
void |
setLastModifiedBy(java.lang.String lastModifiedBy)
Set the document last modified by. |
void |
setLastModifiedDate(java.sql.Timestamp date)
Set the last modified date. |
void |
setLockedBy(java.lang.String lockedBy)
Set the document locked by. |
void |
setMimeType(java.lang.String mimeType)
Set the mime type. |
void |
setName(java.lang.String name)
Set the document name. |
void |
setSize(long size)
Set the document size. |
void |
setVersion(int version)
Set the document version. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String id
protected java.lang.String name
protected int version
protected java.lang.String lockedBy
protected long size
protected java.lang.String author
protected java.sql.Timestamp creationDate
protected java.lang.String lastModifiedBy
protected java.sql.Timestamp lastModifiedDate
protected java.lang.String description
protected java.lang.String comments
protected java.lang.String mimeType
protected java.util.Map attributes
Constructor Detail |
public DefaultDocumentMetadata(java.lang.String id, java.lang.String name, java.lang.String mimeType)
public DefaultDocumentMetadata(java.lang.String id, java.lang.String name)
public DefaultDocumentMetadata(java.lang.String id)
public DefaultDocumentMetadata()
Method Detail |
public java.util.Map getAttributes()
public java.lang.Object getAttribute(java.lang.String name)
public java.util.Collection getAttributeNames()
public java.lang.String getID()
public void setID(java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String name)
public int getVersion()
public void setVersion(int version)
public java.lang.String getLockedBy()
public void setLockedBy(java.lang.String lockedBy)
public long getSize()
public void setSize(long size)
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
public java.sql.Timestamp getCreationDate()
public void setCreationDate(java.sql.Timestamp date)
public java.lang.String getLastModifiedBy()
public void setLastModifiedBy(java.lang.String lastModifiedBy)
public java.sql.Timestamp getLastModifiedDate()
public void setLastModifiedDate(java.sql.Timestamp date)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getComments()
public void setComments(java.lang.String comments)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |