org.apache.struts2.showcase.ajax.tree
Class Category
java.lang.Object
org.apache.struts2.showcase.ajax.tree.Category
public class Category
- extends java.lang.Object
|
Constructor Summary |
Category(long id,
java.lang.String name,
Category... children)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Category
public Category(long id,
java.lang.String name,
Category... children)
getById
public static Category getById(long id)
getId
public long getId()
setId
public void setId(long id)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getChildren
public java.util.List<Category> getChildren()
setChildren
public void setChildren(java.util.List<Category> children)
toggle
public void toggle()
isToggle
public boolean isToggle()
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.