|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntProperty
A general representation of the Properties. implementations depend on the storage models
Method Summary | |
---|---|
void |
addEquivalentProperty(ObjectId ec)
Add a equivalent property. |
void |
addInverseOf(ObjectId p)
Add a 'inverseOf' property |
void |
addSubProperty(ObjectId p)
add a direct subProperty |
void |
addSuperProperty(ObjectId p)
add a direct super Property |
void |
deleteEquivalentProperty(ObjectId r)
Delete a equivalent property. |
void |
deleteInverseOf(ObjectId p)
delete a 'inverseOf' property |
void |
deleteSubProperty(ObjectId p)
delete a direct subProperty |
void |
deleteSuperProperty(ObjectId p)
delete a direct super Property |
ObjectId[] |
getDirectSubProperties()
get the direct subProperties |
ObjectId[] |
getDirectSuperProperties()
get the direct super Properties |
ObjectId |
getDomain()
get the domain |
ObjectId[] |
getEquivalentProperties()
Get the equivalent properties. |
ObjectId[] |
getInverseOf()
get the 'inverseOf' properties |
ObjectId |
getRange()
get the range |
boolean |
isAnnotation()
Tell this property is AnnotationProperty or not. |
java.lang.Boolean |
isDatatype()
Tell this property is ObjectProperty or DatatypeProperty. |
boolean |
isDeprecated()
Test if this property is deprecated. |
boolean |
isFunctional()
Test if this property is functional. |
boolean |
isInverseFunctional()
Test if this property is inverse functional. |
boolean |
isSymmetric()
test if this property is symetric |
boolean |
isTransitive()
test if this property is transitive |
void |
setAnnotation(boolean b)
Set this property to be DatatypeProperty or not. |
void |
setDatatype(boolean b)
Set this property to be DatatypeProperty or ObjectProperty. |
void |
setDeprecated(boolean dep)
Set the property to be deprecated. |
void |
setDomain(ObjectId c)
set the domain |
void |
setFunctional(boolean dep)
Set the property to be functional. |
void |
setInverseFuncional(boolean dep)
Set the property to be inverse functional. |
void |
setRange(ObjectId c)
set the domain |
void |
setSymmetric(boolean b)
set the property to be symetric or not |
void |
setTransitive(boolean b)
set the property to be transitive or not |
Methods inherited from interface edu.lehigh.swat.hawk.core.OntObject |
---|
addDescription, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource |
Method Detail |
---|
ObjectId getDomain()
void setDomain(ObjectId c)
ObjectId getRange()
void setRange(ObjectId c)
boolean isTransitive()
void setTransitive(boolean b)
boolean isSymmetric()
void setSymmetric(boolean b)
void addSubProperty(ObjectId p)
ObjectId[] getDirectSubProperties()
void deleteSubProperty(ObjectId p)
void addSuperProperty(ObjectId p)
ObjectId[] getDirectSuperProperties()
void deleteSuperProperty(ObjectId p)
boolean isDeprecated()
void setDeprecated(boolean dep)
boolean isFunctional()
void setFunctional(boolean dep)
boolean isInverseFunctional()
void setInverseFuncional(boolean dep)
void addInverseOf(ObjectId p)
void deleteInverseOf(ObjectId p)
ObjectId[] getInverseOf()
void addEquivalentProperty(ObjectId ec)
void deleteEquivalentProperty(ObjectId r)
ObjectId[] getEquivalentProperties()
java.lang.Boolean isDatatype()
void setDatatype(boolean b)
boolean isAnnotation()
void setAnnotation(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |