|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.hp.hpl.mesa.rdf.jena.common.ResourceImpl
|
+--com.hp.hpl.mesa.rdf.jena.common.StatementImpl
|
+--com.hp.hpl.mesa.rdf.jena.rdb.StatementImplRDB
A variation on the default Statement implementation supports reference to a reified version via an RDB resource ID.
| Constructor Summary | |
StatementImplRDB(Resource subject,
Property predicate,
RDFNode object)
Creates new StatementImpl |
|
StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
AnonId id,
Model model)
Creates new StatementImpl |
|
StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
Model model)
Creates new StatementImpl |
|
StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
java.lang.String URI,
Model model)
Creates new StatementImpl |
|
| Method Summary | |
static StatementImplRDB |
createFrom(Statement s,
Model m)
Factory method to copy a Statement with all its parameters including uri/anonid to an RDB statement |
boolean |
getIsReifiedOnly()
get flag to indicate that the statement is only reified and not asserted |
IDBID |
getRDBId()
Return the unique ID for the resource associated with this statement. |
IDBID |
getRDBNSId()
Return the unique ID for the resource's namespace or null for resources which have not yet be assigned an ID. |
IDBID |
getRDBStatementId()
Return the unique ID for the statement itself |
void |
setIsReifiedOnly(boolean isOnlyReified)
set flag to indicate that the statement is only reified and not asserted |
void |
setRDBId(IDBID id)
Set the unique ID for the resource associated with this statement |
void |
setRDBNSId(IDBID id)
Set the unique ID for the resource's namespace |
void |
setRDBStatementId(IDBID id)
Set the unique ID for the statement itself |
void |
setURI(Resource r)
Change the uri/anonid assigned to the statement to match that of the given resource |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.StatementImpl |
equals, getAlt, getBag, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLanguage, getLiteral, getLocation, getLong, getObject, getObject, getPredicate, getProperty, getResource, getResource, getSeq, getShort, getStatementProperty, getString, getSubject, getWellFormed, hashCode, isReified, port, remove, removeProperties, set, set, set, set, set, set, set, set, set, set, set, setLocation, toString |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.ResourceImpl |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, getEmbeddedResource, getId, getLocalName, getModel, getNameSpace, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Resource |
abort, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, begin, commit, getId, getLocalName, getModel, getNameSpace, getURI, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, hasProperty, isAnon, listProperties, listProperties |
| Constructor Detail |
public StatementImplRDB(Resource subject,
Property predicate,
RDFNode object)
public StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
Model model)
throws RDFException
public StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
AnonId id,
Model model)
throws RDFException
public StatementImplRDB(Resource subject,
Property predicate,
RDFNode object,
java.lang.String URI,
Model model)
throws RDFException
| Method Detail |
public static StatementImplRDB createFrom(Statement s,
Model m)
throws RDFException
s - the statement to be copiedm - the model to which the new statement should be attached
RDFExceptionpublic IDBID getRDBStatementId()
public void setRDBStatementId(IDBID id)
public IDBID getRDBId()
getRDBId in interface HasRDBIDpublic void setRDBId(IDBID id)
setRDBId in interface HasRDBIDpublic IDBID getRDBNSId()
getRDBNSId in interface HasRDBIDpublic void setRDBNSId(IDBID id)
setRDBNSId in interface HasRDBIDpublic boolean getIsReifiedOnly()
public void setIsReifiedOnly(boolean isOnlyReified)
public void setURI(Resource r)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||