|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
OClass |
getDomain()
Returns the domain of a property. |
String |
getName()
|
Ontology |
getOntology()
Gets the ontology to which the class belongs. |
Object |
getRange()
|
Set |
getSamePropertyAs()
Returns a set of all KBProperty instances that are in SamePropertyAs relation with this property. |
Set |
getSubPropertyOf()
Return a set of all local names of properties that are in a subPropertyOf relation with this property. |
String |
getURI()
Returns the URI of this property. |
boolean |
isValueCompatible(Object value)
|
void |
setSamePropertyAs(Property theProperty)
Add a samePropertyAs relation between the two properties. |
void |
setSubPropertyOf(String propertyName)
Add a SubPropertyOf relation between the given property and this. |
void |
setURI(String theURI)
Sets the URI of the property |
Method Detail |
public String getName()
public String getURI()
public void setURI(String theURI)
theURI
- public void setSamePropertyAs(Property theProperty)
theProperty
- public Set getSamePropertyAs()
Set
value.public void setSubPropertyOf(String propertyName)
propertyName
- public Set getSubPropertyOf()
Set
value.public OClass getDomain()
public boolean isValueCompatible(Object value)
value
-
public Ontology getOntology()
public Object getRange()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |