|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.management.repository.Document
public class Document
A Document instance contains information about a document in the
configuration repository. Its main purpose is to identify the location of
the document contents using a fully qualified document name. It also
contains a DocumentDigest
that can be used for document content
comparison.
Note that creating a new Document
instance does not physically create a new
object in the file system; it simply creates a new reference to a particular location.
Constructor Summary | |
---|---|
Document(java.lang.String docURI)
Creates a new reference to a document with the given location. |
|
Document(java.lang.String docURI,
DocumentDigest digest)
Creates a new reference to a document with the given location and digest. |
Method Summary | |
---|---|
DocumentDigest |
getDigest()
Returns the digest of this document |
boolean |
getOverwrite()
Not for public use. |
java.lang.String |
getTempName()
Returns a temporary name for this document, consisting of the URI plus the digest (if any). |
java.lang.String |
getURI()
Returns the location referred to by this document. |
void |
setOverwrite(boolean b)
Not for public use. |
void |
setURI(java.lang.String newURI)
Sets the URI of this document instance. |
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 docURI, DocumentDigest digest)
docURI
- URI specifying the location of this documentdigest
- the digest for this documentpublic Document(java.lang.String docURI)
docURI
- URI specifying the location of this documentMethod Detail |
---|
public java.lang.String getURI()
public void setURI(java.lang.String newURI)
newURI
- a URI indicating the document locationpublic DocumentDigest getDigest()
public java.lang.String getTempName()
public boolean getOverwrite()
public void setOverwrite(boolean b)
b
- Not for public use
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |