|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.assertion.index.Assertion
public class Assertion
An assertion that can be indexed as a Lucene document.
Constructor Summary | |
---|---|
Assertion()
Default constructor |
Method Summary | |
---|---|
void |
echo(StringBuffer sb,
int depth)
Appends property information for the component to a buffer. |
AsnRdfPart |
getRdfPart()
Gets the part representing RDF fields associated with a assertion. |
AsnSystemPart |
getSystemPart()
Gets the part representing system fields associated with a assertion. |
AsnUserPart |
getUserPart()
Gets the part representing user fields associated with a assertion. |
boolean |
getWasReadFromIndex()
Gets the flag indicating whether or not this is an existing assertion read from an index. |
void |
load(Document document)
Loads the assertion from based upon a previously indexed Lucene document. |
Document |
makeWritableDocument(AsnContext context)
Makes a document suitable for writing to a Lucene index. |
void |
setRdfPart(AsnRdfPart rdfPart)
Sets the part representing RDF fields associated with a assertion. |
void |
setSystemPart(AsnSystemPart systemPart)
Sets the part representing system fields associated with a assertion. |
void |
setUserPart(AsnUserPart userPart)
Sets the part representing user fields associated with a assertion. |
void |
setWasReadFromIndex(boolean wasRead)
Sets the flag indicating whether or not this is an existing assertion read from an index. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Assertion()
Method Detail |
---|
public AsnRdfPart getRdfPart()
public void setRdfPart(AsnRdfPart rdfPart)
rdfPart
- the RDF partpublic AsnSystemPart getSystemPart()
public void setSystemPart(AsnSystemPart systemPart)
systemPart
- the system partpublic AsnUserPart getUserPart()
public void setUserPart(AsnUserPart userPart)
userPart
- the user partpublic boolean getWasReadFromIndex()
true
if existing and read from an indexpublic void setWasReadFromIndex(boolean wasRead)
wasRead
- true
if existing and read from an indexpublic void echo(StringBuffer sb, int depth)
sb
- the buffer to use when appending informationdepth
- the depth of the parentpublic void load(Document document)
document
- the previously indexed Lucene documentpublic Document makeWritableDocument(AsnContext context)
context
- the assertion operation context
public String toString()
toString
in class Object
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |