org.apache.myfaces.examples.listexample
Class TreeItem

java.lang.Object
  extended by org.apache.myfaces.examples.listexample.TreeItem
All Implemented Interfaces:
Serializable

public class TreeItem
extends Object
implements Serializable

Bean class holding a tree item.

Author:
David Le Strat
See Also:
Serialized Form

Constructor Summary
TreeItem(int id, String name, String isoCode, String description)
           
 
Method Summary
 String getDescription()
           
 int getId()
           
 String getIsoCode()
           
 String getName()
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setIsoCode(String isoCode)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeItem

public TreeItem(int id,
                String name,
                String isoCode,
                String description)
Parameters:
id - The id.
name - The name.
isoCode - The isoCode.
description - The description.
Method Detail

getDescription

public String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Parameters:
description - The description to set.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getIsoCode

public String getIsoCode()
Returns:
Returns the isoCode.

setIsoCode

public void setIsoCode(String isoCode)
Parameters:
isoCode - The isoCode to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.