RichFaces Examples Validators 4.2.0.CR1

org.richfaces.example
Class PatternBean

java.lang.Object
  extended by org.richfaces.example.Validable<String>
      extended by org.richfaces.example.PatternBean

public class PatternBean
extends Validable<String>

Author:
asmirnov

Constructor Summary
PatternBean()
           
 
Method Summary
 String getDescription()
           
 String getLabel()
           
 String getValue()
           
 void setValue(String text)
           
 
Methods inherited from class org.richfaces.example.Validable
getConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternBean

public PatternBean()
Method Detail

getValue

@Pattern(regexp="[a-z].*")
public String getValue()
Overrides:
getValue in class Validable<String>
Returns:
the text

setValue

public void setValue(String text)
Overrides:
setValue in class Validable<String>
Parameters:
text - the text to set

getDescription

public String getDescription()
Specified by:
getDescription in class Validable<String>

getLabel

public String getLabel()
Specified by:
getLabel in class Validable<String>

RichFaces Examples Validators 4.2.0.CR1

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