| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.properties.impl.PropertyTypeSelection |
Specialized type of integer property offering a selection of string-based values.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | PropertyTypeSelection.Builder | ||||||||||
| class | PropertyTypeSelection.E | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Object |
afterRead(IPropertyDefinition def, Object value)
Post-processing to be done after reading a value.
| ||||||||||
| Integer |
getDefault()
Get the default value.
| ||||||||||
| List<PropertyTypeSelection.E> | getEntries() | ||||||||||
| int |
getMax()
Get the maximum allowed integer value.
| ||||||||||
| int |
getMin()
Get the minimum allowed integer value.
| ||||||||||
| String |
getName()
Get the type name.
| ||||||||||
| String | toString() | ||||||||||
| boolean |
validate(Object value)
Validate a property value.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.properties.IPropertyType
| |||||||||||
From interface
com.pnfsoftware.jeb.core.properties.IPropertyTypeInteger
| |||||||||||
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 |
|---|
Get the default value.
Get the maximum allowed integer value.
Get the minimum allowed integer value.
Get the type name.
Validate a property value.
| value | the property value |
|---|