org.apache.struts2.showcase.ajax.tree
Class Category

java.lang.Object
  extended by 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)
           
 
Method Summary
static Category getById(long id)
           
 java.util.List<Category> getChildren()
           
 long getId()
           
 java.lang.String getName()
           
 boolean isToggle()
           
 void setChildren(java.util.List<Category> children)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void toggle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category(long id,
                java.lang.String name,
                Category... children)
Method Detail

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.