org.apache.tapestry.dojo.form
Class SimpleBean
java.lang.Object
org.apache.tapestry.dojo.form.SimpleBean
public class SimpleBean
- extends Object
Simple bean style class to test DefaultAutocompleteModel
.
- Author:
- jkuhnert
SimpleBean
public SimpleBean(Integer id,
String label,
int value)
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.