Interface IPropertyTypeString
- All Superinterfaces:
IPropertyType
- All Known Subinterfaces:
IPropertyTypePath
- All Known Implementing Classes:
PropertyTypePath
,PropertyTypeString
Define a string property type.
-
Method Summary
Modifier and TypeMethodDescriptionGet the default value.int
Get the maximum allowed string length.int
Get the minimum allowed string length.Methods inherited from interface com.pnfsoftware.jeb.core.properties.IPropertyType
afterRead, beforeWrite, getName, validate
-
Method Details
-
getDefault
String getDefault()Description copied from interface:IPropertyType
Get the default value.- Specified by:
getDefault
in interfaceIPropertyType
- Returns:
- the default value, cannot be null
-
getMinLength
int getMinLength()Get the minimum allowed string length.- Returns:
- the minimum length
-
getMaxLength
int getMaxLength()Get the maximum allowed string length.- Returns:
- the maximum length
-