|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.exist.fluent.NamedResource.MetadataFacet org.exist.fluent.Document.MetadataFacet
public static class Document.MetadataFacet
The metadata facet for this document. Allows access to and manipulation of various aspects of the document's metadata, including its permissions and various timestamps. NOTE: The interface is fairly bare-bones right now, until I figure out the use cases and flesh it out a bit.
Method Summary | |
---|---|
Date |
creationDate()
Return the time at which this resource was originally created. |
Date |
lastModificationDate()
Return the time at which this document was last modified. |
String |
mimeType()
Return the recorded MIME type of this document. |
void |
setMimeType(String mimeType)
Set the MIME type of this document. |
Methods inherited from class org.exist.fluent.NamedResource.MetadataFacet |
---|
changePermissions, group, group, hasPermission, owner, owner, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Date creationDate()
NamedResource.MetadataFacet
creationDate
in class NamedResource.MetadataFacet
public Date lastModificationDate()
public String mimeType()
public void setMimeType(String mimeType)
mimeType
- this document's desired MIME type
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |