|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface _Resource
Interface for Resource ontology class
Use the org.openanzo.rdfs.RDFSFactory to create instances of this interface.
(URI: http://www.w3.org/2000/01/rdf-schema#Resource)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
commentProperty
The Anzo Property for comment |
static org.openrdf.model.URI |
isDefinedByProperty
The Anzo Property for isDefinedBy |
static org.openrdf.model.URI |
labelProperty
The Anzo Property for label |
static org.openrdf.model.URI |
memberProperty
The Anzo Property for member |
static org.openrdf.model.URI |
seeAlsoProperty
The Anzo Property for seeAlso |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
static org.openrdf.model.URI |
typeProperty
The Anzo Property for type |
static org.openrdf.model.URI |
valueProperty
The Anzo Property for value |
| 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. |
void |
removeComment(java.lang.String comment)
Remove a 'comment' property value. |
void |
removeIsDefinedBy(_Resource isDefinedBy)
Removes a value for the 'isDefinedBy' property. |
void |
removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
Remove a 'isDefinedBy' property value. |
void |
removeLabel(java.lang.String label)
Remove a 'label' property value. |
void |
removeMember(_Resource member)
Removes a value for the 'member' property. |
void |
removeMember(org.openrdf.model.Resource member)
Remove a 'member' property value. |
void |
removeSeeAlso(_Resource seeAlso)
Removes a value for the 'seeAlso' property. |
void |
removeSeeAlso(org.openrdf.model.Resource seeAlso)
Remove a 'seeAlso' property value. |
void |
removeType(Class type)
Removes a value for the 'type' property. |
void |
removeType(org.openrdf.model.Resource type)
Remove a 'type' property value. |
void |
removeValue(_Resource value)
Removes a value for the 'value' property. |
void |
removeValue(org.openrdf.model.Resource value)
Remove a 'value' property value. |
| 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 commentProperty
(URI: http://www.w3.org/2000/01/rdf-schema#comment)
static final org.openrdf.model.URI labelProperty
(URI: http://www.w3.org/2000/01/rdf-schema#label)
static final org.openrdf.model.URI typeProperty
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#type)
static final org.openrdf.model.URI valueProperty
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#value)
static final org.openrdf.model.URI isDefinedByProperty
(URI: http://www.w3.org/2000/01/rdf-schema#isDefinedBy)
static final org.openrdf.model.URI memberProperty
(URI: http://www.w3.org/2000/01/rdf-schema#member)
static final org.openrdf.model.URI seeAlsoProperty
(URI: http://www.w3.org/2000/01/rdf-schema#seeAlso)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<java.lang.String> getComment()
throws JastorException
Iterator of String
JastorExceptioncommentProperty
void addComment(java.lang.String comment)
throws JastorException
comment - String, the value to add
JastorExceptioncommentProperty
void removeComment(java.lang.String comment)
throws JastorException
comment - String, the value to remove
JastorExceptioncommentProperty
info.aduna.collections.iterators.CloseableIterator<java.lang.String> getLabel()
throws JastorException
Iterator of String
JastorExceptionlabelProperty
void addLabel(java.lang.String label)
throws JastorException
label - String, the value to add
JastorExceptionlabelProperty
void removeLabel(java.lang.String label)
throws JastorException
label - String, the value to remove
JastorExceptionlabelProperty
info.aduna.collections.iterators.CloseableIterator<Class> getType()
throws JastorException
Iterator of Class
JastorExceptiontypeProperty
void addType(Class type)
throws JastorException
type - The Class to add
JastorExceptiontypeProperty
Class addType()
throws JastorException
Class created
JastorExceptiontypeProperty
Class addType(org.openrdf.model.Resource resource)
throws JastorException
Class with the factory
and calling addType(org.openanzo.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.
resource - The Resource to add
JastorExceptiontypeProperty
void removeType(Class type)
throws JastorException
type - The Class to remove
JastorExceptiontypeProperty
void removeType(org.openrdf.model.Resource type)
throws JastorException
type - Class, the value to remove
JastorExceptiontypeProperty
info.aduna.collections.iterators.CloseableIterator<_Resource> getValue()
throws JastorException
Iterator of _Resource
JastorExceptionvalueProperty
void addValue(_Resource value)
throws JastorException
value - The _Resource to add
JastorExceptionvalueProperty
_Resource addValue()
throws JastorException
_Resource created
JastorExceptionvalueProperty
_Resource addValue(org.openrdf.model.Resource resource)
throws JastorException
_Resource with the factory
and calling addValue(org.openanzo.rdfs._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.
resource - The Resource to add
JastorExceptionvalueProperty
void removeValue(_Resource value)
throws JastorException
value - The _Resource to remove
JastorExceptionvalueProperty
void removeValue(org.openrdf.model.Resource value)
throws JastorException
value - _Resource, the value to remove
JastorExceptionvalueProperty
info.aduna.collections.iterators.CloseableIterator<_Resource> getIsDefinedBy()
throws JastorException
Iterator of _Resource
JastorExceptionisDefinedByProperty
void addIsDefinedBy(_Resource isDefinedBy)
throws JastorException
isDefinedBy - The _Resource to add
JastorExceptionisDefinedByProperty
_Resource addIsDefinedBy()
throws JastorException
_Resource created
JastorExceptionisDefinedByProperty
_Resource addIsDefinedBy(org.openrdf.model.Resource resource)
throws JastorException
_Resource with the factory
and calling addIsDefinedBy(org.openanzo.rdfs._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.
resource - The Resource to add
JastorExceptionisDefinedByProperty
void removeIsDefinedBy(_Resource isDefinedBy)
throws JastorException
isDefinedBy - The _Resource to remove
JastorExceptionisDefinedByProperty
void removeIsDefinedBy(org.openrdf.model.Resource isDefinedBy)
throws JastorException
isDefinedBy - _Resource, the value to remove
JastorExceptionisDefinedByProperty
info.aduna.collections.iterators.CloseableIterator<_Resource> getMember()
throws JastorException
Iterator of _Resource
JastorExceptionmemberProperty
void addMember(_Resource member)
throws JastorException
member - The _Resource to add
JastorExceptionmemberProperty
_Resource addMember()
throws JastorException
_Resource created
JastorExceptionmemberProperty
_Resource addMember(org.openrdf.model.Resource resource)
throws JastorException
_Resource with the factory
and calling addMember(org.openanzo.rdfs._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.
resource - The Resource to add
JastorExceptionmemberProperty
void removeMember(_Resource member)
throws JastorException
member - The _Resource to remove
JastorExceptionmemberProperty
void removeMember(org.openrdf.model.Resource member)
throws JastorException
member - _Resource, the value to remove
JastorExceptionmemberProperty
info.aduna.collections.iterators.CloseableIterator<_Resource> getSeeAlso()
throws JastorException
Iterator of _Resource
JastorExceptionseeAlsoProperty
void addSeeAlso(_Resource seeAlso)
throws JastorException
seeAlso - The _Resource to add
JastorExceptionseeAlsoProperty
_Resource addSeeAlso()
throws JastorException
_Resource created
JastorExceptionseeAlsoProperty
_Resource addSeeAlso(org.openrdf.model.Resource resource)
throws JastorException
_Resource with the factory
and calling addSeeAlso(org.openanzo.rdfs._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.
resource - The Resource to add
JastorExceptionseeAlsoProperty
void removeSeeAlso(_Resource seeAlso)
throws JastorException
seeAlso - The _Resource to remove
JastorExceptionseeAlsoProperty
void removeSeeAlso(org.openrdf.model.Resource seeAlso)
throws JastorException
seeAlso - _Resource, the value to remove
JastorExceptionseeAlsoProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||