org.apache.tapestry.form
Class SimpleBean

java.lang.Object
  extended by org.apache.tapestry.form.SimpleBean

public class SimpleBean
extends Object

Used by the BeanPropertySelectionModelTest to test listing/selecting bean properties.

Author:
jkuhnert

Field Summary
protected  String _description
           
protected  int _id
           
protected  String _name
           
 
Constructor Summary
SimpleBean()
          Default constructor.
SimpleBean(int id, String name, String description)
          Creates a new instance with default values.
 
Method Summary
 String getDescription()
           
 int getId()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_id

protected int _id

_name

protected String _name

_description

protected String _description
Constructor Detail

SimpleBean

public SimpleBean()
Default constructor.


SimpleBean

public SimpleBean(int id,
                  String name,
                  String description)
Creates a new instance with default values.

Parameters:
id -
name -
description -
Method Detail

getDescription

public String getDescription()
Returns:
Returns the description.

getId

public int getId()
Returns:
Returns the id.

getName

public String getName()
Returns:
Returns the name.


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.