|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.model.impl.LiteralImpl
org.openrdf.sail.memory.model.MemLiteral
public class MemLiteral
A MemoryStore-specific extension of Literal giving it node properties.
| Field Summary |
|---|
| Fields inherited from interface org.openrdf.sail.memory.model.MemValue |
|---|
EMPTY_LIST |
| Constructor Summary | |
|---|---|
MemLiteral(Object creator,
String label)
Creates a new Literal which will get the supplied label. |
|
MemLiteral(Object creator,
String label,
String lang)
Creates a new Literal which will get the supplied label and language code. |
|
MemLiteral(Object creator,
String label,
URI datatype)
Creates a new Literal which will get the supplied label and datatype. |
|
| Method Summary | |
|---|---|
void |
addObjectStatement(MemStatement st)
Adds a statement to this MemValue's list of statements for which it is the object. |
Object |
getCreator()
Returns the object that created this MemValue. |
int |
getObjectStatementCount()
Gets the number of statements for which this MemValue is the object. |
MemStatementList |
getObjectStatementList()
Gets the list of statements for which this MemValue is the object. |
void |
removeObjectStatement(MemStatement st)
Removes a statement from this MemValue's list of statements for which it is the object. |
| Methods inherited from class org.openrdf.model.impl.LiteralImpl |
|---|
booleanValue, byteValue, calendarValue, decimalValue, doubleValue, equals, floatValue, getDatatype, getLabel, getLanguage, hashCode, integerValue, intValue, longValue, shortValue, stringValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.model.Value |
|---|
stringValue |
| Constructor Detail |
|---|
public MemLiteral(Object creator,
String label)
creator - The object that is creating this MemLiteral.label - The label for this literal.
public MemLiteral(Object creator,
String label,
String lang)
creator - The object that is creating this MemLiteral.label - The label for this literal.lang - The language code of the supplied label.
public MemLiteral(Object creator,
String label,
URI datatype)
creator - The object that is creating this MemLiteral.label - The label for this literal.datatype - The datatype of the supplied label.| Method Detail |
|---|
public Object getCreator()
MemValue
getCreator in interface MemValuepublic MemStatementList getObjectStatementList()
MemValue
getObjectStatementList in interface MemValuepublic int getObjectStatementCount()
MemValue
getObjectStatementCount in interface MemValuepublic void addObjectStatement(MemStatement st)
MemValue
addObjectStatement in interface MemValuepublic void removeObjectStatement(MemStatement st)
MemValue
removeObjectStatement in interface MemValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||