|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.atom.jastor.rdfs.LiteralImpl
public class LiteralImpl
Implementation of Literal
Use the org.openanzo.atom.jastor.rdfs.Factory to create instances of this class.
(URI: http://www.w3.org/2000/01/rdf-schema#Literal)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.atom.jastor.rdfs.Literal |
|---|
TYPE |
| Method Summary | |
|---|---|
void |
addComment(org.openrdf.model.Literal comment)
Add a 'comment' property value |
GraphThing |
addIsDefinedBy()
Adds an anonymous value for the 'isDefinedBy' property |
void |
addIsDefinedBy(GraphThing isDefinedBy)
Adds a value for the 'isDefinedBy' property |
GraphThing |
addIsDefinedBy(org.openrdf.model.Resource resource)
Adds a value for the 'isDefinedBy' property. |
void |
addLabel(org.openrdf.model.Literal label)
Add a 'label' property value |
GraphThing |
addMember()
Adds an anonymous value for the 'member' property |
void |
addMember(GraphThing member)
Adds a value for the 'member' property |
GraphThing |
addMember(org.openrdf.model.Resource resource)
Adds a value for the 'member' property. |
GraphThing |
addSeeAlso()
Adds an anonymous value for the 'seeAlso' property |
void |
addSeeAlso(GraphThing seeAlso)
Adds a value for the 'seeAlso' property |
GraphThing |
addSeeAlso(org.openrdf.model.Resource resource)
Adds a value for the 'seeAlso' property. |
Class |
addType()
Adds an anonymous value for the 'type' property |
void |
addType(Class type)
Adds a value for the 'type' property |
Class |
addType(org.openrdf.model.Resource resource)
Adds a value for the 'type' property. |
GraphThing |
addValue()
Adds an anonymous value for the 'value' property |
void |
addValue(GraphThing value)
Adds a value for the 'value' property |
GraphThing |
addValue(org.openrdf.model.Resource resource)
Adds a value for the 'value' property. |
info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> |
getComment()
Iterates through the 'comment' property values. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getIsDefinedBy()
Get an Iterator the 'isDefinedBy' property values. |
info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> |
getLabel()
Iterates through the 'label' property values. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getMember()
Get an Iterator the 'member' property values. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getSeeAlso()
Get an Iterator the 'seeAlso' property values. |
info.aduna.collections.iterators.CloseableIterator<Class> |
getType()
Get an Iterator the 'type' property values. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getValue()
Get an Iterator the 'value' property values. |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
removeComment(org.openrdf.model.Literal comment)
Remove a 'comment' property value. |
void |
removeIsDefinedBy(GraphThing isDefinedBy)
Removes a value for the 'isDefinedBy' property. |
void |
removeLabel(org.openrdf.model.Literal label)
Remove a 'label' property value. |
void |
removeMember(GraphThing member)
Removes a value for the 'member' property. |
void |
removeSeeAlso(GraphThing seeAlso)
Removes a value for the 'seeAlso' property. |
void |
removeType(Class type)
Removes a value for the 'type' property. |
void |
removeValue(GraphThing value)
Removes a value for the 'value' property. |
| Methods inherited from class org.openanzo.jastor.GraphThingImpl |
|---|
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, registerListener, removeStatements, resource, setPropertyValue, setPropertyValue, toString, unregisterListener, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, registerListener, removeStatements, resource, unregisterListener, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getValue()
throws JastorException
Literal
getValue in interface LiteralIterator of GraphThing
JastorExceptionLiteral.valueProperty
public void addValue(GraphThing value)
throws JastorException
Literal
addValue in interface LiteralJastorExceptionLiteral.valueProperty
public GraphThing addValue()
throws JastorException
Literal
addValue in interface LiteralGraphThing created
JastorExceptionLiteral.valueProperty
public GraphThing addValue(org.openrdf.model.Resource resource)
throws JastorException
LiteralGraphThing with the factory
and calling addValue(org.openanzo.jastor.GraphThing value)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addValue in interface LiteralJastorExceptionLiteral.valueProperty
public void removeValue(GraphThing value)
throws JastorException
Literal
removeValue in interface LiteralJastorExceptionLiteral.valueProperty
public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getComment()
throws JastorException
Literal
getComment in interface LiteralIterator of Literal
JastorExceptionLiteral.commentProperty
public void addComment(org.openrdf.model.Literal comment)
throws JastorException
Literal
addComment in interface LiteralJastorExceptionLiteral.commentProperty
public void removeComment(org.openrdf.model.Literal comment)
throws JastorException
Literal
removeComment in interface LiteralJastorExceptionLiteral.commentProperty
public info.aduna.collections.iterators.CloseableIterator<org.openrdf.model.Literal> getLabel()
throws JastorException
Literal
getLabel in interface LiteralIterator of Literal
JastorExceptionLiteral.labelProperty
public void addLabel(org.openrdf.model.Literal label)
throws JastorException
Literal
addLabel in interface LiteralJastorExceptionLiteral.labelProperty
public void removeLabel(org.openrdf.model.Literal label)
throws JastorException
Literal
removeLabel in interface LiteralJastorExceptionLiteral.labelProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getIsDefinedBy()
throws JastorException
Literal
getIsDefinedBy in interface LiteralIterator of GraphThing
JastorExceptionLiteral.isDefinedByProperty
public void addIsDefinedBy(GraphThing isDefinedBy)
throws JastorException
Literal
addIsDefinedBy in interface LiteralJastorExceptionLiteral.isDefinedByProperty
public GraphThing addIsDefinedBy()
throws JastorException
Literal
addIsDefinedBy in interface LiteralGraphThing created
JastorExceptionLiteral.isDefinedByProperty
public GraphThing addIsDefinedBy(org.openrdf.model.Resource resource)
throws JastorException
LiteralGraphThing with the factory
and calling addIsDefinedBy(org.openanzo.jastor.GraphThing isDefinedBy)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addIsDefinedBy in interface LiteralJastorExceptionLiteral.isDefinedByProperty
public void removeIsDefinedBy(GraphThing isDefinedBy)
throws JastorException
Literal
removeIsDefinedBy in interface LiteralJastorExceptionLiteral.isDefinedByProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getMember()
throws JastorException
Literal
getMember in interface LiteralIterator of GraphThing
JastorExceptionLiteral.memberProperty
public void addMember(GraphThing member)
throws JastorException
Literal
addMember in interface LiteralJastorExceptionLiteral.memberProperty
public GraphThing addMember()
throws JastorException
Literal
addMember in interface LiteralGraphThing created
JastorExceptionLiteral.memberProperty
public GraphThing addMember(org.openrdf.model.Resource resource)
throws JastorException
LiteralGraphThing with the factory
and calling addMember(org.openanzo.jastor.GraphThing member)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addMember in interface LiteralJastorExceptionLiteral.memberProperty
public void removeMember(GraphThing member)
throws JastorException
Literal
removeMember in interface LiteralJastorExceptionLiteral.memberProperty
public info.aduna.collections.iterators.CloseableIterator<Class> getType()
throws JastorException
Literal
getType in interface LiteralIterator of Class
JastorExceptionLiteral.typeProperty
public void addType(Class type)
throws JastorException
Literal
addType in interface LiteralJastorExceptionLiteral.typeProperty
public Class addType()
throws JastorException
Literal
addType in interface LiteralClass created
JastorExceptionLiteral.typeProperty
public Class addType(org.openrdf.model.Resource resource)
throws JastorException
LiteralClass with the factory
and calling addType(org.openanzo.atom.jastor.rdfs.Class type)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Class. That is, this method
should not be used as a shortcut for creating new objects in the model.
addType in interface LiteralJastorExceptionLiteral.typeProperty
public void removeType(Class type)
throws JastorException
Literal
removeType in interface LiteralJastorExceptionLiteral.typeProperty
public info.aduna.collections.iterators.CloseableIterator<GraphThing> getSeeAlso()
throws JastorException
Literal
getSeeAlso in interface LiteralIterator of GraphThing
JastorExceptionLiteral.seeAlsoProperty
public void addSeeAlso(GraphThing seeAlso)
throws JastorException
Literal
addSeeAlso in interface LiteralJastorExceptionLiteral.seeAlsoProperty
public GraphThing addSeeAlso()
throws JastorException
Literal
addSeeAlso in interface LiteralGraphThing created
JastorExceptionLiteral.seeAlsoProperty
public GraphThing addSeeAlso(org.openrdf.model.Resource resource)
throws JastorException
LiteralGraphThing with the factory
and calling addSeeAlso(org.openanzo.jastor.GraphThing seeAlso)
The resource argument have rdf:type http://www.w3.org/2000/01/rdf-schema#Resource. That is, this method
should not be used as a shortcut for creating new objects in the model.
addSeeAlso in interface LiteralJastorExceptionLiteral.seeAlsoProperty
public void removeSeeAlso(GraphThing seeAlso)
throws JastorException
Literal
removeSeeAlso in interface LiteralJastorExceptionLiteral.seeAlsoProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||