|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthok.model.ATreeModel
hok.model.TreeElement
public class TreeElement
The TreeElement
is a JavaBean representing an owl individual or owl
object property. It stores the identifier, the label and the comment of the
owl element.
Constructor Summary | |
---|---|
TreeElement(ITreeNode parent)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(TreeElement o)
Compares the element attribute of two TreeElement objects. |
java.lang.String |
getComment()
Returns the rdfs:Comment of the owl element. |
java.lang.String |
getElement()
Returns the URI of the owl element. |
java.lang.String |
getLabel()
Returns the rdfs:Label of the owl element. |
void |
setComment(java.lang.String comment)
Sets the rdfs:Comment of the owl element. |
void |
setElement(java.lang.String element)
Sets the URI of the owl element. |
void |
setLabel(java.lang.String label)
Sets the rdfs:Label of the owl element. |
Methods inherited from class hok.model.ATreeModel |
---|
addChild, addListener, getChildren, getParent, hasChildren, removeChild, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeElement(ITreeNode parent)
ITreeNode
element if there is one,
or null if this is the root element.
parent
- the parent element to set.Method Detail |
---|
public java.lang.String getElement()
public void setElement(java.lang.String element)
element
- the String representation of the owl URI to set.public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- the String representation of the rdfs:Comment to set.public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the String representation of the rdfs:Label to set.public int compareTo(TreeElement o)
compareTo
in interface java.lang.Comparable<TreeElement>
o
- the object to compare.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |