Class PropertyTypePath
java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.PropertyTypePath
- All Implemented Interfaces:
IPropertyType,IPropertyTypePath,IPropertyTypeString
Path (custom string) property type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyTypePathcreate()Define a path property that defaults to the empty string.static PropertyTypePathbooleanGet the default value.intGet the maximum allowed string length.intGet the minimum allowed string length.getName()Get the type name.inthashCode()toString()booleanValidate a property value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.properties.IPropertyType
afterRead, beforeWrite
-
Method Details
-
create
-
create
Define a path property that defaults to the empty string.- Returns:
-
getName
Description copied from interface:IPropertyTypeGet the type name.- Specified by:
getNamein interfaceIPropertyType- Returns:
-
getMinLength
public int getMinLength()Description copied from interface:IPropertyTypeStringGet the minimum allowed string length.- Specified by:
getMinLengthin interfaceIPropertyTypeString- Returns:
- the minimum length
-
getMaxLength
public int getMaxLength()Description copied from interface:IPropertyTypeStringGet the maximum allowed string length.- Specified by:
getMaxLengthin interfaceIPropertyTypeString- Returns:
- the maximum length
-
getDefault
Description copied from interface:IPropertyTypeGet the default value.- Specified by:
getDefaultin interfaceIPropertyType- Specified by:
getDefaultin interfaceIPropertyTypeString- Returns:
- the default value, cannot be null
-
validate
Description copied from interface:IPropertyTypeValidate a property value.- Specified by:
validatein interfaceIPropertyType- Parameters:
value- the property value- Returns:
- true on success
-
hashCode
public int hashCode() -
equals
-
toString
-