|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyRestriction
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.OntObject |
---|
addDescription, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource |
Field Detail |
---|
static final int INFINITY
Method Detail |
---|
ObjectId getOnProperty()
void setOnProperty(ObjectId p)
ObjectId getAllValuesFrom()
void setAllValuesFrom(ObjectId c)
ObjectId getSomeValuesFrom()
void setSomeValuesFrom(ObjectId c)
int getMinCardinality()
void setMinCardinality(int n)
int getMaxCardinality()
void setMaxCardinality(int n)
ObjectId getHasValue()
void setHasValue(ObjectId i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |