public class StringMultiProperty extends AbstractDelimitedProperty<String[]>
| Modifier and Type | Field and Description |
|---|---|
static char |
DEFAULT_DELIMITER |
static PropertyDescriptorFactory |
FACTORY |
| Constructor and Description |
|---|
StringMultiProperty(String theName,
String theDescription,
String[] theDefaults,
float theUIOrder,
char delimiter)
Constructor for StringProperty.
|
StringMultiProperty(String theName,
String theDescription,
String theDefaults,
Map<String,String> otherParams)
Constructor for CharacterProperty that accepts additional params from a map.
|
| Modifier and Type | Method and Description |
|---|---|
Class<String[]> |
type()
Denotes the value datatype.
|
protected String |
valueErrorFor(Object value) |
String[] |
valueFrom(String valueString)
If the property is multi-valued then return the separate values after
parsing the propertyString provided.
|
addAttributesTo, defaultAsString, delimiterIn, isMultiValue, multiValueDelimiter, multiValueDelimiterareEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorForpublic static final char DEFAULT_DELIMITER
public static final PropertyDescriptorFactory FACTORY
public StringMultiProperty(String theName, String theDescription, String[] theDefaults, float theUIOrder, char delimiter)
theName - StringtheDescription - StringtheDefaults - String[]theUIOrder - floatdelimiter - StringIllegalArgumentExceptionpublic Class<String[]> type()
PropertyDescriptorPropertyDescriptor.type()public String[] valueFrom(String valueString)
PropertyDescriptorvalueString - StringPropertyDescriptor.valueFrom(String)protected String valueErrorFor(Object value)
valueErrorFor in class AbstractProperty<String[]>value - ObjectCopyright © 2002-2014 InfoEther. All Rights Reserved.