|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface List
Interface for List ontology class
Use the org.openanzo.rdfs.RDFSFactory to create instances of this interface.
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#List)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
firstProperty
The Anzo Property for first |
static org.openrdf.model.URI |
restProperty
The Anzo Property for rest |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| Fields inherited from interface org.openanzo.rdfs._Resource |
|---|
commentProperty, isDefinedByProperty, labelProperty, memberProperty, seeAlsoProperty, typeProperty, valueProperty |
| Method Summary | |
|---|---|
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. |
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. |
info.aduna.collections.iterators.CloseableIterator<_Resource> |
getFirst()
Get an Iterator the 'first' property values. |
info.aduna.collections.iterators.CloseableIterator<List> |
getRest()
Get an Iterator the 'rest' property values. |
void |
removeFirst(_Resource first)
Removes a value for the 'first' property. |
void |
removeFirst(org.openrdf.model.Resource first)
Remove a 'first' property value. |
void |
removeRest(List rest)
Removes a value for the 'rest' property. |
void |
removeRest(org.openrdf.model.Resource rest)
Remove a 'rest' property value. |
| Methods inherited from interface org.openanzo.rdfs._Resource |
|---|
addComment, addIsDefinedBy, addIsDefinedBy, addIsDefinedBy, addLabel, addMember, addMember, addMember, addSeeAlso, addSeeAlso, addSeeAlso, addType, addType, addType, addValue, addValue, addValue, getComment, getIsDefinedBy, getLabel, getMember, getSeeAlso, getType, getValue, removeComment, removeIsDefinedBy, removeIsDefinedBy, removeLabel, removeMember, removeMember, removeSeeAlso, removeSeeAlso, removeType, removeType, removeValue, removeValue |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI firstProperty
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#first)
static final org.openrdf.model.URI restProperty
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#rest)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<_Resource> getFirst()
throws JastorException
Iterator of _Resource
JastorExceptionfirstProperty
void addFirst(_Resource first)
throws JastorException
first - The _Resource to add
JastorExceptionfirstProperty
_Resource addFirst()
throws JastorException
_Resource created
JastorExceptionfirstProperty
_Resource addFirst(org.openrdf.model.Resource resource)
throws JastorException
_Resource with the factory
and calling addFirst(org.openanzo.rdfs._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.
resource - The Resource to add
JastorExceptionfirstProperty
void removeFirst(_Resource first)
throws JastorException
first - The _Resource to remove
JastorExceptionfirstProperty
void removeFirst(org.openrdf.model.Resource first)
throws JastorException
first - _Resource, the value to remove
JastorExceptionfirstProperty
info.aduna.collections.iterators.CloseableIterator<List> getRest()
throws JastorException
Iterator of List
JastorExceptionrestProperty
void addRest(List rest)
throws JastorException
rest - The List to add
JastorExceptionrestProperty
List addRest()
throws JastorException
List created
JastorExceptionrestProperty
List addRest(org.openrdf.model.Resource resource)
throws JastorException
List with the factory
and calling addRest(org.openanzo.rdfs.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.
resource - The Resource to add
JastorExceptionrestProperty
void removeRest(List rest)
throws JastorException
rest - The List to remove
JastorExceptionrestProperty
void removeRest(org.openrdf.model.Resource rest)
throws JastorException
rest - List, the value to remove
JastorExceptionrestProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||