T
- public abstract class AbstractScalarProperty<T> extends AbstractProperty<T>
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Modifier | Constructor and Description |
---|---|
protected |
AbstractScalarProperty(String theName,
String theDescription,
T theDefault,
float theUIOrder)
Constructor for AbstractScalarProperty.
|
Modifier and Type | Method and Description |
---|---|
protected Object[] |
arrayFor(int size) |
protected abstract Object |
createFrom(String value) |
T |
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, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
type
protected abstract Object createFrom(String value)
value
- Stringprotected Object[] arrayFor(int size)
size
- intpublic T valueFrom(String valueString) throws IllegalArgumentException
PropertyDescriptor
valueString
- StringIllegalArgumentException
PropertyDescriptor.valueFrom(String)
Copyright © 2002–2017 PMD. All rights reserved.