public class CategoryTreeItem extends Object implements Comparable
Constructor and Description |
---|
CategoryTreeItem(ActionCategory category) |
Modifier and Type | Method and Description |
---|---|
void |
add(CategoryTreeItem item) |
int |
compareTo(Object o)
Compares this object with the specified object for order.
|
boolean |
equals(Object o) |
ActionCategory |
getCategory() |
CategoryTreeItem[] |
getChilds() |
String |
getName() |
CategoryTreeItem |
getParent() |
int |
hashCode() |
void |
setParent(CategoryTreeItem parent) |
String |
toString() |
public CategoryTreeItem(ActionCategory category)
public String getName()
public CategoryTreeItem getParent()
public void setParent(CategoryTreeItem parent)
public ActionCategory getCategory()
public void add(CategoryTreeItem item)
public CategoryTreeItem[] getChilds()
public int compareTo(Object o)
compareTo
in interface Comparable
o
- the Object to be compared.ClassCastException
- if the specified object's type prevents it from being compared to this Object.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.