org.openrdf.sesame.sailimpl.rdbms.model
Class IdLiteral
java.lang.Object
org.openrdf.model.impl.LiteralImpl
org.openrdf.sesame.sailimpl.rdbms.model.IdLiteral
- All Implemented Interfaces:
- Comparable, IdValue, Literal, Serializable, Value
- public class IdLiteral
- extends LiteralImpl
- implements IdValue
- See Also:
- Serialized Form
IdLiteral
public IdLiteral(RdfSource source,
String label,
int internalId)
IdLiteral
public IdLiteral(RdfSource source,
String label,
String lang,
int internalId)
IdLiteral
public IdLiteral(RdfSource source,
String label,
URI datatype,
int internalId)
getRdfSource
public RdfSource getRdfSource()
- Description copied from interface:
IdValue
- Returns the RdfSource that contains this IdValue. IDs are only
unique within a single repository, but an application could use
several repositories at the same time, passing IdValue generated
by one Sail to another Sail. In such situations, the ID of the
first Sail cannot be used by the second Sail.
- Specified by:
getRdfSource in interface IdValue
getInternalId
public int getInternalId()
- Description copied from interface:
IdValue
- Gets the ID that is used in the RDBMS for this Value.
- Specified by:
getInternalId in interface IdValue
setInternalId
public void setInternalId(int internalId)
getObjectStatements
public StatementIterator getObjectStatements()
throws GraphException
- Description copied from interface:
Value
- Gets all statements from the RDF graph for which this value is the object.
- Specified by:
getObjectStatements in interface Value- Overrides:
getObjectStatements in class LiteralImpl
- Throws:
GraphException
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.