edu.lehigh.swat.hawk.core
Interface PropertyRestriction

All Superinterfaces:
java.lang.Cloneable, OntClass, OntObject
All Known Implementing Classes:
PropertyRestriction, PropertyRestriction

public interface PropertyRestriction
extends OntClass

Wrap the property restrictions in the ontology.


Field Summary
static int INFINITY
           
 
Method Summary
 ObjectId getAllValuesFrom()
          Get the specified restriction class of 'allValuesFrom'.
 ObjectId getHasValue()
          Get the specified value of 'hasValue'.
 int getMaxCardinality()
          Get the specified number of 'maxCardinality'.
 int getMinCardinality()
          Get the specified number of 'minCardinality'.
 ObjectId getOnProperty()
          Get the property restricted on.
 ObjectId getSomeValuesFrom()
          Get the specified restriction class of 'someValuesFrom'.
 void setAllValuesFrom(ObjectId c)
          Set the specified restriction class of 'allValuesFrom'.
 void setHasValue(ObjectId i)
          Set the specified value of 'hasValue'.
 void setMaxCardinality(int n)
          Set the specified number of 'maxCardinality'.
 void setMinCardinality(int n)
          Set the specified number of 'minCardinality'.
 void setOnProperty(ObjectId p)
          Set the property restricted on.
 void setSomeValuesFrom(ObjectId c)
          Set the specified restriction class of 'someValuesFrom'.
 
Methods inherited from interface edu.lehigh.swat.hawk.core.OntClass
addComplementOf, addDisjointWith, addEquivalentClass, addIntersectionOf, addOneOf, addPropertyRestriction, addSubClass, addSuperClass, addUnionOf, deleteComplementOf, deleteDisjointWith, deleteEquivalentClass, deleteIntersectionOf, deleteOneOf, deletePropertyRestriction, deleteSubClass, deleteSuperClass, deleteUnionOf, getComplementOfs, getDirectSubClasses, getDirectSuperClasses, getDisjointWith, getEquivalentClasses, getIntersectionAxiomNodes, getIntersectionOfs, getOneOfs, getPropertyRestrictions, getUnionAxiomNodes, getUnionOfs, isDeprecated, isSatisfiabele, setDeprecated, setSatisfiable
 
Methods inherited from interface edu.lehigh.swat.hawk.core.OntObject
addDescription, clone, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource
 

Field Detail

INFINITY

static final int INFINITY
See Also:
Constant Field Values
Method Detail

getOnProperty

ObjectId getOnProperty()
Get the property restricted on.


setOnProperty

void setOnProperty(ObjectId p)
Set the property restricted on.


getAllValuesFrom

ObjectId getAllValuesFrom()
Get the specified restriction class of 'allValuesFrom'.


setAllValuesFrom

void setAllValuesFrom(ObjectId c)
Set the specified restriction class of 'allValuesFrom'.


getSomeValuesFrom

ObjectId getSomeValuesFrom()
Get the specified restriction class of 'someValuesFrom'.


setSomeValuesFrom

void setSomeValuesFrom(ObjectId c)
Set the specified restriction class of 'someValuesFrom'.


getMinCardinality

int getMinCardinality()
Get the specified number of 'minCardinality'.


setMinCardinality

void setMinCardinality(int n)
Set the specified number of 'minCardinality'.


getMaxCardinality

int getMaxCardinality()
Get the specified number of 'maxCardinality'.


setMaxCardinality

void setMaxCardinality(int n)
Set the specified number of 'maxCardinality'.


getHasValue

ObjectId getHasValue()
Get the specified value of 'hasValue'.


setHasValue

void setHasValue(ObjectId i)
Set the specified value of 'hasValue'.