RichFaces Examples Validators 4.2.0.CR1

org.richfaces.example
Class Bean

java.lang.Object
  extended by org.richfaces.example.Bean

public class Bean
extends Object


Field Summary
static String FOO_VALUE
           
 
Constructor Summary
Bean()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOO_VALUE

public static final String FOO_VALUE
See Also:
Constant Field Values
Constructor Detail

Bean

public Bean()
Method Detail

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)

RichFaces Examples Validators 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.