public class LongMultiProperty extends AbstractMultiNumericProperty<Long[]>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
NUMBER_FIELD_TYPES_BY_KEY
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
LongMultiProperty(String theName,
String theDescription,
Long min,
Long max,
Long[] theDefaults,
float theUIOrder)
Constructor for LongProperty.
|
Modifier and Type | Method and Description |
---|---|
protected Object[] |
arrayFor(int size)
Returns an array of the correct type for the receiver.
|
protected Object |
createFrom(String value) |
Class<Long[]> |
type()
Denotes the value datatype.
|
defaultAsString, isMultiValue
addAttributesTo, lowerLimit, rangeString, upperLimit, valueErrorFor
valueFrom
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFrom
compareTo
public static final PropertyDescriptorFactory FACTORY
public LongMultiProperty(String theName, String theDescription, Long min, Long max, Long[] theDefaults, float theUIOrder)
theName
- StringtheDescription
- Stringmin
- Longmax
- LongtheDefaults
- Long[]theUIOrder
- floatIllegalArgumentException
public Class<Long[]> type()
PropertyDescriptor
PropertyDescriptor.type()
protected Object createFrom(String value)
createFrom
in class AbstractScalarProperty<Long[]>
value
- Stringprotected Object[] arrayFor(int size)
arrayFor
in class AbstractScalarProperty<Long[]>
size
- intCopyright © 2002-2015 InfoEther. All Rights Reserved.