T
- public abstract class AbstractScalarProperty<T> extends AbstractProperty<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractScalarProperty(java.lang.String theName,
java.lang.String theDescription,
T theDefault,
float theUIOrder)
Constructor for AbstractScalarProperty.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
arrayFor(int size) |
protected abstract java.lang.Object |
createFrom(java.lang.String value) |
T |
valueFrom(java.lang.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 AbstractScalarProperty(java.lang.String theName, java.lang.String theDescription, T theDefault, float theUIOrder)
theName
- StringtheDescription
- StringtheDefault
- ObjecttheUIOrder
- floatprotected abstract java.lang.Object createFrom(java.lang.String value)
value
- Stringprotected java.lang.Object[] arrayFor(int size)
size
- intpublic T valueFrom(java.lang.String valueString) throws java.lang.IllegalArgumentException
PropertyDescriptor
valueString
- Stringjava.lang.IllegalArgumentException
PropertyDescriptor.valueFrom(String)
Copyright © 2002-2014 InfoEther. All Rights Reserved.