ucot.ui.gui.tree.analyzemodeltree
Class EntitiesTreeItem
java.lang.Object
ucot.ui.gui.tree.analyzemodeltree.TreeItem
ucot.ui.gui.tree.analyzemodeltree.EntitiesTreeItem
- All Implemented Interfaces:
- java.lang.Comparable
public class EntitiesTreeItem
- extends TreeItem
Method Summary |
java.util.List |
getChildren()
|
java.lang.String |
getData()
|
javax.swing.Icon |
getIcon()
Returns Icon for this TreeItem. |
java.lang.String |
getName()
|
private boolean |
isEntityInfluencingEntity(java.lang.String sourceEntity,
java.lang.String targetEntity)
Retuns true is targetEntity is referenced by sourceEntity. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntitiesTreeItem
public EntitiesTreeItem(AnalyzeTreeModel model,
TreeItem parent)
getName
public java.lang.String getName()
- Specified by:
getName
in class TreeItem
getData
public java.lang.String getData()
getIcon
public javax.swing.Icon getIcon()
- Description copied from class:
TreeItem
- Returns Icon for this TreeItem.
- Specified by:
getIcon
in class TreeItem
- Returns:
- Icon for this TreeItem.
getChildren
public java.util.List getChildren()
- Overrides:
getChildren
in class TreeItem
isEntityInfluencingEntity
private boolean isEntityInfluencingEntity(java.lang.String sourceEntity,
java.lang.String targetEntity)
- Retuns true is targetEntity is referenced by sourceEntity.
TargetEntity os referenced if it is sourceEntitys attribute,
child or is target of sourceEntitys methods.
- Parameters:
sourceEntity
- name of the entity that is influencing.targetEntity
- name of the entity that is influenced.
- Returns:
- true if sourceEntity is influencing targetEntity.