|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Restriction
Interface for Restriction ontology class
Use the org.openanzo.owl.OWL11Factory to create instances of this interface.
(URI: http://www.w3.org/2002/07/owl#Restriction)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
allValuesFromProperty
The Anzo Property for allValuesFrom |
static org.openrdf.model.URI |
cardinalityProperty
The Anzo Property for cardinality |
static org.openrdf.model.URI |
hasValueProperty
The Anzo Property for hasValue |
static org.openrdf.model.URI |
maxCardinalityProperty
The Anzo Property for maxCardinality |
static org.openrdf.model.URI |
minCardinalityProperty
The Anzo Property for minCardinality |
static org.openrdf.model.URI |
onPropertyProperty
The Anzo Property for onProperty |
static org.openrdf.model.URI |
someValuesFromProperty
The Anzo Property for someValuesFrom |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
| Method Summary | |
|---|---|
GraphThing |
addAllValuesFrom()
Adds an anonymous value for the 'allValuesFrom' property |
void |
addAllValuesFrom(GraphThing allValuesFrom)
Adds a value for the 'allValuesFrom' property |
GraphThing |
addAllValuesFrom(org.openrdf.model.Resource resource)
Adds a value for the 'allValuesFrom' property. |
void |
addCardinality(java.lang.Integer cardinality)
Add a 'cardinality' property value |
void |
addMaxCardinality(java.lang.Integer maxCardinality)
Add a 'maxCardinality' property value |
void |
addMinCardinality(java.lang.Integer minCardinality)
Add a 'minCardinality' property value |
GraphThing |
addSomeValuesFrom()
Adds an anonymous value for the 'someValuesFrom' property |
void |
addSomeValuesFrom(GraphThing someValuesFrom)
Adds a value for the 'someValuesFrom' property |
GraphThing |
addSomeValuesFrom(org.openrdf.model.Resource resource)
Adds a value for the 'someValuesFrom' property. |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getAllValuesFrom()
Get an Iterator the 'allValuesFrom' property values. |
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> |
getCardinality()
Iterates through the 'cardinality' property values. |
java.lang.String |
getHasValue()
Gets the 'hasValue' property value |
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> |
getMaxCardinality()
Iterates through the 'maxCardinality' property values. |
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> |
getMinCardinality()
Iterates through the 'minCardinality' property values. |
_Property |
getOnProperty()
Gets the 'onProperty' property value |
info.aduna.collections.iterators.CloseableIterator<GraphThing> |
getSomeValuesFrom()
Get an Iterator the 'someValuesFrom' property values. |
void |
removeAllValuesFrom(GraphThing allValuesFrom)
Removes a value for the 'allValuesFrom' property. |
void |
removeAllValuesFrom(org.openrdf.model.Resource allValuesFrom)
Remove a 'allValuesFrom' property value. |
void |
removeCardinality(java.lang.Integer cardinality)
Remove a 'cardinality' property value. |
void |
removeMaxCardinality(java.lang.Integer maxCardinality)
Remove a 'maxCardinality' property value. |
void |
removeMinCardinality(java.lang.Integer minCardinality)
Remove a 'minCardinality' property value. |
void |
removeSomeValuesFrom(GraphThing someValuesFrom)
Removes a value for the 'someValuesFrom' property. |
void |
removeSomeValuesFrom(org.openrdf.model.Resource someValuesFrom)
Remove a 'someValuesFrom' property value. |
void |
setHasValue(java.lang.String hasValue)
Sets the 'hasValue' property value |
void |
setOnProperty(_Property onProperty)
Sets the 'onProperty' property value |
_Property |
setOnProperty()
Sets the 'onProperty' property value to an anonymous node |
_Property |
setOnProperty(org.openrdf.model.Resource resource)
Sets the 'onProperty' property value to the given resource, and add's rdf:type properties. |
| 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 cardinalityProperty
(URI: http://www.w3.org/2002/07/owl#cardinality)
static final org.openrdf.model.URI maxCardinalityProperty
(URI: http://www.w3.org/2002/07/owl#maxCardinality)
static final org.openrdf.model.URI minCardinalityProperty
(URI: http://www.w3.org/2002/07/owl#minCardinality)
static final org.openrdf.model.URI onPropertyProperty
(URI: http://www.w3.org/2002/07/owl#onProperty)
static final org.openrdf.model.URI hasValueProperty
(URI: http://www.w3.org/2002/07/owl#hasValue)
static final org.openrdf.model.URI allValuesFromProperty
(URI: http://www.w3.org/2002/07/owl#allValuesFrom)
static final org.openrdf.model.URI someValuesFromProperty
(URI: http://www.w3.org/2002/07/owl#someValuesFrom)
| Method Detail |
|---|
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getCardinality()
throws JastorException
Iterator of Integer
JastorExceptioncardinalityProperty
void addCardinality(java.lang.Integer cardinality)
throws JastorException
cardinality - Integer, the value to add
JastorExceptioncardinalityProperty
void removeCardinality(java.lang.Integer cardinality)
throws JastorException
cardinality - Integer, the value to remove
JastorExceptioncardinalityProperty
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMaxCardinality()
throws JastorException
Iterator of Integer
JastorExceptionmaxCardinalityProperty
void addMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
maxCardinality - Integer, the value to add
JastorExceptionmaxCardinalityProperty
void removeMaxCardinality(java.lang.Integer maxCardinality)
throws JastorException
maxCardinality - Integer, the value to remove
JastorExceptionmaxCardinalityProperty
info.aduna.collections.iterators.CloseableIterator<java.lang.Integer> getMinCardinality()
throws JastorException
Iterator of Integer
JastorExceptionminCardinalityProperty
void addMinCardinality(java.lang.Integer minCardinality)
throws JastorException
minCardinality - Integer, the value to add
JastorExceptionminCardinalityProperty
void removeMinCardinality(java.lang.Integer minCardinality)
throws JastorException
minCardinality - Integer, the value to remove
JastorExceptionminCardinalityProperty
_Property getOnProperty()
throws JastorException
_Property
JastorExceptiononPropertyProperty
void setOnProperty(_Property onProperty)
throws JastorException
onProperty - _Property
JastorExceptiononPropertyProperty
_Property setOnProperty()
throws JastorException
_Property, the created value
JastorExceptiononPropertyProperty
_Property setOnProperty(org.openrdf.model.Resource resource)
throws JastorException
_Property with the factory.
and calling setOnProperty(org.openanzo.rdfs._Property onProperty)
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 - Resource must not be be null.
_Property, the newly created value
JastorExceptiononPropertyProperty
java.lang.String getHasValue()
throws JastorException
String
JastorExceptionhasValueProperty
void setHasValue(java.lang.String hasValue)
throws JastorException
hasValue - String
JastorExceptionhasValueProperty
info.aduna.collections.iterators.CloseableIterator<GraphThing> getAllValuesFrom()
throws JastorException
Iterator of GraphThing
JastorExceptionallValuesFromProperty
void addAllValuesFrom(GraphThing allValuesFrom)
throws JastorException
allValuesFrom - The GraphThing to add
JastorExceptionallValuesFromProperty
GraphThing addAllValuesFrom()
throws JastorException
GraphThing created
JastorExceptionallValuesFromProperty
GraphThing addAllValuesFrom(org.openrdf.model.Resource resource)
throws JastorException
GraphThing with the factory
and calling addAllValuesFrom(org.openanzo.jastor.GraphThing allValuesFrom)
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
JastorExceptionallValuesFromProperty
void removeAllValuesFrom(GraphThing allValuesFrom)
throws JastorException
allValuesFrom - The GraphThing to remove
JastorExceptionallValuesFromProperty
void removeAllValuesFrom(org.openrdf.model.Resource allValuesFrom)
throws JastorException
allValuesFrom - GraphThing, the value to remove
JastorExceptionallValuesFromProperty
info.aduna.collections.iterators.CloseableIterator<GraphThing> getSomeValuesFrom()
throws JastorException
Iterator of GraphThing
JastorExceptionsomeValuesFromProperty
void addSomeValuesFrom(GraphThing someValuesFrom)
throws JastorException
someValuesFrom - The GraphThing to add
JastorExceptionsomeValuesFromProperty
GraphThing addSomeValuesFrom()
throws JastorException
GraphThing created
JastorExceptionsomeValuesFromProperty
GraphThing addSomeValuesFrom(org.openrdf.model.Resource resource)
throws JastorException
GraphThing with the factory
and calling addSomeValuesFrom(org.openanzo.jastor.GraphThing someValuesFrom)
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
JastorExceptionsomeValuesFromProperty
void removeSomeValuesFrom(GraphThing someValuesFrom)
throws JastorException
someValuesFrom - The GraphThing to remove
JastorExceptionsomeValuesFromProperty
void removeSomeValuesFrom(org.openrdf.model.Resource someValuesFrom)
throws JastorException
someValuesFrom - GraphThing, the value to remove
JastorExceptionsomeValuesFromProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||