org.apache.tapestry.dojo.form
Class SimpleBean

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

public class SimpleBean
extends Object

Simple bean style class to test DefaultAutocompleteModel.

Author:
jkuhnert

Constructor Summary
SimpleBean(Integer id, String label, int value)
           
 
Method Summary
 boolean equals(Object obj)
          
 Integer getId()
           
 String getLabel()
           
 int getValue()
          Returns the value stored.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBean

public SimpleBean(Integer id,
                  String label,
                  int value)
Method Detail

getId

public Integer getId()
Returns:
the id

getLabel

public String getLabel()
Returns:
the label

getValue

public int getValue()
Returns the value stored.

Returns:
The value stored.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object


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