java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.properties.impl.PropertyTypeString |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object |
afterRead(IPropertyDefinition def, Object value)
Post-processing to be done after reading a value.
| ||||||||||
Object |
beforeWrite(IPropertyDefinition def, Object value)
Pre-processing to be done before storing a value.
| ||||||||||
static PropertyTypeString | create(int min, int max, String def) | ||||||||||
static PropertyTypeString | create(String s) | ||||||||||
static PropertyTypeString |
create()
Define a string property that defaults to the empty string.
| ||||||||||
boolean | equals(Object obj) | ||||||||||
String |
getDefault()
Get the default value.
| ||||||||||
int |
getMaxLength()
Get the maximum allowed string length.
| ||||||||||
int |
getMinLength()
Get the minimum allowed string length.
| ||||||||||
String |
getName()
Get the type name.
| ||||||||||
int | hashCode() | ||||||||||
String | toString() | ||||||||||
boolean |
validate(Object value)
Validate a property value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Post-processing to be done after reading a value. This method should only be called after a
successful call to validate(Object)
.
value | must not be null |
---|
Pre-processing to be done before storing a value.
Define a string property that defaults to the empty string.
Get the default value.
Get the maximum allowed string length.
Get the minimum allowed string length.
Get the type name.
Validate a property value.
value | the property value |
---|