|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface _Property
Interface for Property ontology class
Use the org.openanzo.rdfs.dataset.RDFSFactory to create instances of this interface.
(URI: http://www.w3.org/1999/02/22-rdf-syntax-ns#Property)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
domainProperty
The Anzo Property for domain |
static org.openrdf.model.URI |
rangeProperty
The Anzo Property for range |
static org.openrdf.model.URI |
subPropertyOfProperty
The Anzo Property for subPropertyOf |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| Fields inherited from interface org.openanzo.rdfs.dataset._Resource |
|---|
commentProperty, isDefinedByProperty, labelProperty, memberProperty, seeAlsoProperty, typeProperty, valueProperty |
| Method Summary | |
|---|---|
void |
addSubPropertyOf(_Property subPropertyOf)
Adds a value for the 'subPropertyOf' property |
_Property |
addSubPropertyOf()
Adds an anonymous value for the 'subPropertyOf' property |
_Property |
addSubPropertyOf(org.openrdf.model.Resource resource)
Adds a value for the 'subPropertyOf' property. |
Class |
getDomain()
Gets the 'domain' property value |
Class |
getRange()
Gets the 'range' property value |
info.aduna.collections.iterators.CloseableIterator<_Property> |
getSubPropertyOf()
Get an Iterator the 'subPropertyOf' property values. |
void |
registerListener(_PropertyListener listener)
Register a _PropertyListener |
void |
registerListener(_ResourceListener listener)
Register a org.openanzo.rdfs.dataset._ResourceListener |
void |
removeSubPropertyOf(_Property subPropertyOf)
Removes a value for the 'subPropertyOf' property. |
Class |
setDomain()
Sets the 'domain' property value to an anonymous node |
void |
setDomain(Class domain)
Sets the 'domain' property value |
Class |
setDomain(org.openrdf.model.Resource resource)
Sets the 'domain' property value to the given resource, and add's rdf:type properties. |
Class |
setRange()
Sets the 'range' property value to an anonymous node |
void |
setRange(Class range)
Sets the 'range' property value |
Class |
setRange(org.openrdf.model.Resource resource)
Sets the 'range' property value to the given resource, and add's rdf:type properties. |
void |
unregisterListener(_PropertyListener listener)
Unregister a _PropertyListener |
void |
unregisterListener(_ResourceListener listener)
Unregister a org.openanzo.rdfs.dataset._ResourceListener |
| Methods inherited from interface org.openanzo.rdfs.dataset._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, removeLabel, removeMember, removeSeeAlso, removeType, removeValue |
| 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, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI domainProperty
(URI: http://www.w3.org/2000/01/rdf-schema#domain)
static final org.openrdf.model.URI rangeProperty
(URI: http://www.w3.org/2000/01/rdf-schema#range)
static final org.openrdf.model.URI subPropertyOfProperty
(URI: http://www.w3.org/2000/01/rdf-schema#subPropertyOf)
| Method Detail |
|---|
Class getDomain()
throws JastorException
Class
JastorExceptiondomainProperty
void setDomain(Class domain)
throws JastorException
domain - Class, value to set
JastorExceptiondomainProperty
Class setDomain()
throws JastorException
Class, the created value
JastorExceptiondomainProperty
Class setDomain(org.openrdf.model.Resource resource)
throws JastorException
Class with the factory.
and calling setDomain(org.openanzo.rdfs.dataset.Class domain)
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 - Resource must not be be null.
Class, the newly created value
JastorExceptiondomainProperty
Class getRange()
throws JastorException
Class
JastorExceptionrangeProperty
void setRange(Class range)
throws JastorException
range - Class, value to set
JastorExceptionrangeProperty
Class setRange()
throws JastorException
Class, the created value
JastorExceptionrangeProperty
Class setRange(org.openrdf.model.Resource resource)
throws JastorException
Class with the factory.
and calling setRange(org.openanzo.rdfs.dataset.Class range)
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 - Resource must not be be null.
Class, the newly created value
JastorExceptionrangeProperty
info.aduna.collections.iterators.CloseableIterator<_Property> getSubPropertyOf()
throws JastorException
Iterator of _Property
JastorExceptionsubPropertyOfProperty
void addSubPropertyOf(_Property subPropertyOf)
throws JastorException
subPropertyOf - The _Property to add
JastorExceptionsubPropertyOfProperty
_Property addSubPropertyOf()
throws JastorException
_Property created
JastorExceptionsubPropertyOfProperty
_Property addSubPropertyOf(org.openrdf.model.Resource resource)
throws JastorException
_Property with the factory
and calling addSubPropertyOf(org.openanzo.rdfs.dataset._Property subPropertyOf)
The resource argument have rdf:type http://www.w3.org/1999/02/22-rdf-syntax-ns#Property. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - The Resource to add
JastorExceptionsubPropertyOfProperty
void removeSubPropertyOf(_Property subPropertyOf)
throws JastorException
subPropertyOf - The _Property to remove
JastorExceptionsubPropertyOfPropertyvoid registerListener(_PropertyListener listener)
listener - _PropertyListener to registervoid unregisterListener(_PropertyListener listener)
listener - _PropertyListener to unregistervoid registerListener(_ResourceListener listener)
registerListener in interface _Resourcelistener - org.openanzo.rdfs.dataset._ResourceListener to registervoid unregisterListener(_ResourceListener listener)
unregisterListener in interface _Resourcelistener - org.openanzo.rdfs.dataset._ResourceListener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||