org.apache.myfaces.examples.listexample
Class TreeItem
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeItem
public TreeItem(int id,
String name,
String isoCode,
String description)
- Parameters:
id - The id.name - The name.isoCode - The isoCode.description - The description.
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.