org.richfaces.example
Class Bean
java.lang.Object
org.richfaces.example.Bean
public class Bean
- extends Object
|
Constructor Summary |
Bean()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOO_VALUE
public static final String FOO_VALUE
- See Also:
- Constant Field Values
Bean
public Bean()
getValue
public String getValue()
- Returns:
- the value
setValue
public void setValue(String value)
- Parameters:
value - the value to set
getRequired
public String getRequired()
- Returns:
- the required
setRequired
public void setRequired(String required)
- Parameters:
required - the required to set
getIntValue
public int getIntValue()
- Returns:
- the intValue
setIntValue
public void setIntValue(int intValue)
- Parameters:
intValue - the intValue to set
getLongValue
public long getLongValue()
- Returns:
- the longValue
setLongValue
public void setLongValue(long longValue)
- Parameters:
longValue - the longValue to set
getDoubleValue
public double getDoubleValue()
- Returns:
- the doubleValue
setDoubleValue
public void setDoubleValue(double doubleValue)
- Parameters:
doubleValue - the doubleValue to set
getEmail
public String getEmail()
- Returns:
- the email
setEmail
public void setEmail(String email)
- Parameters:
email - the email to set
getNumbers
@NotNull
@NotEmpty
@Digits(fraction=0,
integer=2)
@Pattern(regexp="^[0-9-]+$",
message="must contain only numbers")
public String getNumbers()
setNumbers
public void setNumbers(String numbers)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.