Package org.appng.xml.platform
Class Pattern
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.ValidationRule
-
- org.appng.xml.platform.Pattern
-
- All Implemented Interfaces:
Serializable
public class Pattern extends ValidationRule implements Serializable
AValidationRule
indicating theFieldDef
's value must match the regular expression defined bygetRegexp()
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
regexp
-
Fields inherited from class org.appng.xml.platform.ValidationRule
message
-
-
Constructor Summary
Constructors Constructor Description Pattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRegexp()
The regular expression for the field.void
setRegexp(String value)
Sets the value of the regexp property.-
Methods inherited from class org.appng.xml.platform.ValidationRule
getMessage, setMessage
-
-
-
-
Field Detail
-
regexp
protected String regexp
-
-