public Object getValueAt(Object node, int column) {
if (node instanceof Category) {
Category category = (Category) node;
return getValueAt(category, column);
} else if (node instanceof Product) {
Product product = (Product) node;
return getValueAt(product, column);
} else {
switch (column) {
case 0:
return node.toString();