|
||||||||||
| 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.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._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 |
removeSubPropertyOf(_Property subPropertyOf)
Removes a value for the 'subPropertyOf' property. |
void |
removeSubPropertyOf(org.openrdf.model.Resource subPropertyOf)
Remove a 'subPropertyOf' property value. |
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. |
| 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 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
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.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
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.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._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
JastorExceptionsubPropertyOfProperty
void removeSubPropertyOf(org.openrdf.model.Resource subPropertyOf)
throws JastorException
subPropertyOf - _Property, the value to remove
JastorExceptionsubPropertyOfProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||