public class Bean extends Object
| Constructor and Description |
|---|
Bean() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue()
|
String |
getEmail()
|
int |
getIntValue()
|
long |
getLongValue()
|
String |
getNumbers() |
String |
getRequired()
|
String |
getValue() |
void |
setDoubleValue(double doubleValue)
|
void |
setEmail(String email)
|
void |
setIntValue(int intValue)
|
void |
setLongValue(long longValue)
|
void |
setNumbers(String numbers) |
void |
setRequired(String required)
|
void |
setValue(String value) |
public static final String FOO_VALUE
public String getValue()
public void setValue(String value)
value - the value to setpublic String getRequired()
public void setRequired(String required)
required - the required to setpublic int getIntValue()
public void setIntValue(int intValue)
intValue - the intValue to setpublic long getLongValue()
public void setLongValue(long longValue)
longValue - the longValue to setpublic double getDoubleValue()
public void setDoubleValue(double doubleValue)
doubleValue - the doubleValue to setpublic String getEmail()
public void setEmail(String email)
email - the email to set@NotNull
@NotEmpty
@Digits(fraction=0,
integer=2)
@Pattern(regexp="^[0-9-]+$",
message="must contain only numbers")
public String getNumbers()
public void setNumbers(String numbers)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.