|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.DatasetThingImpl
org.openanzo.rdfs.dataset.LiteralImpl
public class LiteralImpl
Implementation of Literal
Use the org.openanzo.rdfs.dataset.RDFSFactory to create instances of this class.
(URI: http://www.w3.org/2000/01/rdf-schema#Literal)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.rdfs.dataset.Literal |
|---|
TYPE |
| Method Summary | |
|---|---|
void |
addComment(java.lang.String comment)
Add a 'comment' property value |
void |
addIsDefinedBy(_Resource isDefinedBy)
Adds a value for the 'isDefinedBy' property |
_Resource |
addIsDefinedBy()
Adds an anonymous value for the 'isDefinedBy' property |
_Resource |
addIsDefinedBy(org.openrdf.model.Resource resource)
Adds a value for the 'isDefinedBy' property. |
void |
addLabel(java.lang.String label)
Add a 'label' property value |
void |
addMember(_Resource member)
Adds a value for the 'member' property |
_Resource |
addMember()
Adds an anonymous value for the 'member' property |
_Resource |
addMember(org.openrdf.model.Resource resource)
Adds a value for the 'member' property. |
void |
addSeeAlso(_Resource seeAlso)
Adds a value for the 'seeAlso' property |
_Resource |
addSeeAlso()
Adds an anonymous value for the 'seeAlso' property |
_Resource |
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. |
void |
addValue(_Resource value)
Adds a value for the 'value' property |
_Resource |
addValue()
Adds an anonymous value for the 'value' property |
_Resource |
addValue(org.openrdf.model.Resource resource)
Adds a value for the 'value' property. |
info.aduna.collections.iterators.CloseableIterator<java.lang.String> |
getComment()
Iterates through the 'comment' property values. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getIsDefinedBy()
Get an Iterator the 'isDefinedBy' property values. |
info.aduna.collections.iterators.CloseableIterator<java.lang.String> |
getLabel()
Iterates through the 'label' property values. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getMember()
Get an Iterator the 'member' property values. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
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<_Resource> |
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 |
registerListener(_ResourceListener listener)
Register a _ResourceListener |
void |
registerListener(LiteralListener listener)
Register a LiteralListener |
void |
registerWithEventManager()
Register the object listeners with the dataset's event manager |
void |
removeComment(java.lang.String comment)
Remove a 'comment' property value. |
void |
removeIsDefinedBy(_Resource isDefinedBy)
Removes a value for the 'isDefinedBy' property. |
void |
removeLabel(java.lang.String label)
Remove a 'label' property value. |
void |
removeMember(_Resource member)
Removes a value for the 'member' property. |
void |
removeSeeAlso(_Resource seeAlso)
Removes a value for the 'seeAlso' property. |
void |
removeType(Class type)
Removes a value for the 'type' property. |
void |
removeValue(_Resource value)
Removes a value for the 'value' property. |
void |
unregisterListener(_ResourceListener listener)
Unregister a _ResourceListener |
void |
unregisterListener(LiteralListener listener)
Unregister a LiteralListener |
void |
unregisterWithEventManager()
Unregister the object listeners with the dataset's event manager |
| Methods inherited from class org.openanzo.jastor.DatasetThingImpl |
|---|
clearCache, dataset, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, isRDFType, namedGraphUri, 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.DatasetThing |
|---|
dataset, getProperties, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, namedGraphUri, 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 DatasetThingImpl
public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
throws JastorException
_Resource
getComment in interface _ResourceIterator of String
JastorException_Resource.commentProperty
public void addComment(java.lang.String comment)
throws JastorException
_Resource
addComment in interface _Resourcecomment - String, the value to add
JastorException_Resource.commentProperty
public void removeComment(java.lang.String comment)
throws JastorException
_Resource
removeComment in interface _Resourcecomment - String, the value to remove
JastorException_Resource.commentProperty
public info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
throws JastorException
_Resource
getLabel in interface _ResourceIterator of String
JastorException_Resource.labelProperty
public void addLabel(java.lang.String label)
throws JastorException
_Resource
addLabel in interface _Resourcelabel - String, the value to add
JastorException_Resource.labelProperty
public void removeLabel(java.lang.String label)
throws JastorException
_Resource
removeLabel in interface _Resourcelabel - String, the value to remove
JastorException_Resource.labelProperty
public info.aduna.collections.iterators.CloseableIterator<Class> getType()
throws JastorException
_Resource
getType in interface _ResourceIterator of Class
JastorException_Resource.typeProperty
public void addType(Class type)
throws JastorException
_Resource
addType in interface _Resourcetype - The Class to add
JastorException_Resource.typeProperty
public Class addType()
throws JastorException
_Resource
addType in interface _ResourceClass created
JastorException_Resource.typeProperty
public Class addType(org.openrdf.model.Resource resource)
throws JastorException
_ResourceClass with the factory
and calling addType(org.openanzo.rdfs.dataset.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 _Resourceresource - The Resource to add
JastorException_Resource.typeProperty
public void removeType(Class type)
throws JastorException
_Resource
removeType in interface _Resourcetype - The Class to remove
JastorException_Resource.typeProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
throws JastorException
_Resource
getValue in interface _ResourceIterator of _Resource
JastorException_Resource.valueProperty
public void addValue(_Resource value)
throws JastorException
_Resource
addValue in interface _Resourcevalue - The _Resource to add
JastorException_Resource.valueProperty
public _Resource addValue()
throws JastorException
_Resource
addValue in interface _Resource_Resource created
JastorException_Resource.valueProperty
public _Resource addValue(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addValue(org.openanzo.rdfs.dataset._Resource 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 _Resourceresource - The Resource to add
JastorException_Resource.valueProperty
public void removeValue(_Resource value)
throws JastorException
_Resource
removeValue in interface _Resourcevalue - The _Resource to remove
JastorException_Resource.valueProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
throws JastorException
_Resource
getIsDefinedBy in interface _ResourceIterator of _Resource
JastorException_Resource.isDefinedByProperty
public void addIsDefinedBy(_Resource isDefinedBy)
throws JastorException
_Resource
addIsDefinedBy in interface _ResourceisDefinedBy - The _Resource to add
JastorException_Resource.isDefinedByProperty
public _Resource addIsDefinedBy()
throws JastorException
_Resource
addIsDefinedBy in interface _Resource_Resource created
JastorException_Resource.isDefinedByProperty
public _Resource addIsDefinedBy(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addIsDefinedBy(org.openanzo.rdfs.dataset._Resource 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 _Resourceresource - The Resource to add
JastorException_Resource.isDefinedByProperty
public void removeIsDefinedBy(_Resource isDefinedBy)
throws JastorException
_Resource
removeIsDefinedBy in interface _ResourceisDefinedBy - The _Resource to remove
JastorException_Resource.isDefinedByProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
throws JastorException
_Resource
getMember in interface _ResourceIterator of _Resource
JastorException_Resource.memberProperty
public void addMember(_Resource member)
throws JastorException
_Resource
addMember in interface _Resourcemember - The _Resource to add
JastorException_Resource.memberProperty
public _Resource addMember()
throws JastorException
_Resource
addMember in interface _Resource_Resource created
JastorException_Resource.memberProperty
public _Resource addMember(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addMember(org.openanzo.rdfs.dataset._Resource 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 _Resourceresource - The Resource to add
JastorException_Resource.memberProperty
public void removeMember(_Resource member)
throws JastorException
_Resource
removeMember in interface _Resourcemember - The _Resource to remove
JastorException_Resource.memberProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
throws JastorException
_Resource
getSeeAlso in interface _ResourceIterator of _Resource
JastorException_Resource.seeAlsoProperty
public void addSeeAlso(_Resource seeAlso)
throws JastorException
_Resource
addSeeAlso in interface _ResourceseeAlso - The _Resource to add
JastorException_Resource.seeAlsoProperty
public _Resource addSeeAlso()
throws JastorException
_Resource
addSeeAlso in interface _Resource_Resource created
JastorException_Resource.seeAlsoProperty
public _Resource addSeeAlso(org.openrdf.model.Resource resource)
throws JastorException
_Resource_Resource with the factory
and calling addSeeAlso(org.openanzo.rdfs.dataset._Resource 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 _Resourceresource - The Resource to add
JastorException_Resource.seeAlsoProperty
public void removeSeeAlso(_Resource seeAlso)
throws JastorException
_Resource
removeSeeAlso in interface _ResourceseeAlso - The _Resource to remove
JastorException_Resource.seeAlsoPropertypublic void registerWithEventManager()
public void unregisterWithEventManager()
public void registerListener(LiteralListener listener)
Literal
registerListener in interface Literallistener - LiteralListener to registerpublic void unregisterListener(LiteralListener listener)
Literal
unregisterListener in interface Literallistener - LiteralListener to unregisterpublic void registerListener(_ResourceListener listener)
_Resource
registerListener in interface _ResourceregisterListener in interface Literallistener - _ResourceListener to registerpublic void unregisterListener(_ResourceListener listener)
_Resource
unregisterListener in interface _ResourceunregisterListener in interface Literallistener - _ResourceListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||