public class CharacterProperty extends AbstractProperty<Character>
| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptorFactory |
FACTORY |
| Constructor and Description |
|---|
CharacterProperty(String theName,
String theDescription,
Character theDefault,
float theUIOrder)
Constructor for CharacterProperty.
|
CharacterProperty(String theName,
String theDescription,
String defaultStr,
float theUIOrder)
Constructor for CharacterProperty.
|
| Modifier and Type | Method and Description |
|---|---|
static Character |
charFrom(String charStr) |
protected String |
defaultAsString()
Method defaultAsString.
|
Class<Character> |
type()
Denotes the value datatype.
|
Character |
valueFrom(String valueString)
If the property is multi-valued then return the separate values after
parsing the propertyString provided.
|
addAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorForpublic static final PropertyDescriptorFactory FACTORY
public CharacterProperty(String theName, String theDescription, Character theDefault, float theUIOrder)
theName - StringtheDescription - StringtheDefault - CharactertheUIOrder - floatpublic CharacterProperty(String theName, String theDescription, String defaultStr, float theUIOrder)
theName - StringtheDescription - StringdefaultStr - StringtheUIOrder - floatIllegalArgumentExceptionpublic static Character charFrom(String charStr)
charStr - Stringpublic Class<Character> type()
PropertyDescriptorPropertyDescriptor.type()public Character valueFrom(String valueString) throws IllegalArgumentException
PropertyDescriptorvalueString - StringIllegalArgumentExceptionPropertyDescriptor.valueFrom(String)protected String defaultAsString()
defaultAsString in class AbstractProperty<Character>Copyright © 2002-2014 InfoEther. All Rights Reserved.