public class CharacterMultiProperty extends AbstractProperty<Character[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
CharacterMultiProperty(String theName,
String theDescription,
Character[] theDefaults,
float theUIOrder,
char delimiter)
Constructor for CharacterProperty.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMultiValue()
Returns whether the property is multi-valued, i.e.
|
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, defaultAsString, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
public CharacterMultiProperty(String theName, String theDescription, Character[] theDefaults, float theUIOrder, char delimiter)
theName
- StringtheDescription
- StringtheDefaults
- char[]theUIOrder
- floatdelimiter
- charIllegalArgumentException
public Class<Character[]> type()
PropertyDescriptor
PropertyDescriptor.type()
public Character[] valueFrom(String valueString) throws IllegalArgumentException
PropertyDescriptor
valueString
- StringIllegalArgumentException
PropertyDescriptor.valueFrom(String)
public boolean isMultiValue()
AbstractProperty
isMultiValue
in interface PropertyDescriptor<Character[]>
isMultiValue
in class AbstractProperty<Character[]>
PropertyDescriptor.isMultiValue()
Copyright © 2002-2017 PMD. All Rights Reserved.