|
||||||||||
| 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.ListImpl
public class ListImpl
Implementation of List
Use the org.openanzo.rdfs.dataset.RDFSFactory to create instances of this class.
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#List)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.rdfs.dataset.List |
|---|
TYPE |
| Method Summary | |
|---|---|
void |
addComment(java.lang.String comment)
Add a 'comment' property value |
void |
addFirst(_Resource first)
Adds a value for the 'first' property |
_Resource |
addFirst()
Adds an anonymous value for the 'first' property |
_Resource |
addFirst(org.openrdf.model.Resource resource)
Adds a value for the 'first' property. |
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. |
List |
addRest()
Adds an anonymous value for the 'rest' property |
void |
addRest(List rest)
Adds a value for the 'rest' property |
List |
addRest(org.openrdf.model.Resource resource)
Adds a value for the 'rest' 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> |
getFirst()
Get an Iterator the 'first' 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<List> |
getRest()
Get an Iterator the 'rest' 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(ListListener listener)
Register a ListListener |
void |
registerWithEventManager()
Register the object listeners with the dataset's event manager |
void |
removeComment(java.lang.String comment)
Remove a 'comment' property value. |
void |
removeFirst(_Resource first)
Removes a value for the 'first' property. |
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 |
removeRest(List rest)
Removes a value for the 'rest' 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(ListListener listener)
Unregister a ListListener |
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.seeAlsoProperty
public info.aduna.collections.iterators.CloseableIterator<_Resource> getFirst()
throws JastorException
List
getFirst in interface ListIterator of _Resource
JastorExceptionList.firstProperty
public void addFirst(_Resource first)
throws JastorException
List
addFirst in interface Listfirst - The _Resource to add
JastorExceptionList.firstProperty
public _Resource addFirst()
throws JastorException
List
addFirst in interface List_Resource created
JastorExceptionList.firstProperty
public _Resource addFirst(org.openrdf.model.Resource resource)
throws JastorException
List_Resource with the factory
and calling addFirst(org.openanzo.rdfs.dataset._Resource first)
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.
addFirst in interface Listresource - The Resource to add
JastorExceptionList.firstProperty
public void removeFirst(_Resource first)
throws JastorException
List
removeFirst in interface Listfirst - The _Resource to remove
JastorExceptionList.firstProperty
public info.aduna.collections.iterators.CloseableIterator<List> getRest()
throws JastorException
List
getRest in interface ListIterator of List
JastorExceptionList.restProperty
public void addRest(List rest)
throws JastorException
List
addRest in interface Listrest - The List to add
JastorExceptionList.restProperty
public List addRest()
throws JastorException
List
addRest in interface ListList created
JastorExceptionList.restProperty
public List addRest(org.openrdf.model.Resource resource)
throws JastorException
ListList with the factory
and calling addRest(org.openanzo.rdfs.dataset.List rest)
The resource argument have rdf:type http://www.w3.org/1999/02/22-rdf-syntax-ns#List. That is, this method
should not be used as a shortcut for creating new objects in the model.
addRest in interface Listresource - The Resource to add
JastorExceptionList.restProperty
public void removeRest(List rest)
throws JastorException
List
removeRest in interface Listrest - The List to remove
JastorExceptionList.restPropertypublic void registerWithEventManager()
public void unregisterWithEventManager()
public void registerListener(ListListener listener)
List
registerListener in interface Listlistener - ListListener to registerpublic void unregisterListener(ListListener listener)
List
unregisterListener in interface Listlistener - ListListener to unregisterpublic void registerListener(_ResourceListener listener)
_Resource
registerListener in interface _ResourceregisterListener in interface Listlistener - _ResourceListener to registerpublic void unregisterListener(_ResourceListener listener)
_Resource
unregisterListener in interface _ResourceunregisterListener in interface Listlistener - _ResourceListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||