public class LongProperty extends AbstractNumericProperty<java.lang.Long>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
numberFieldTypesByKey
Constructor and Description |
---|
LongProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.Long min,
java.lang.Long max,
java.lang.Long theDefault,
float theUIOrder)
Constructor for LongProperty.
|
LongProperty(java.lang.String theName,
java.lang.String theDescription,
java.lang.String minStr,
java.lang.String maxStr,
java.lang.String defaultStr,
float theUIOrder)
Constructor for LongProperty that limits itself to a single value within the specified limits.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createFrom(java.lang.String value) |
static java.lang.Long |
longFrom(java.lang.String numberString) |
java.lang.Class<java.lang.Long> |
type()
Denotes the value datatype.
|
addAttributesTo, defaultAsString, lowerLimit, rangeString, upperLimit, valueErrorFor
arrayFor, valueFrom
areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valuesErrorFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asDelimitedString, attributeValuesById, choices, defaultValue, description, errorFor, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, uiOrder, valueFrom
public static final PropertyDescriptorFactory FACTORY
public LongProperty(java.lang.String theName, java.lang.String theDescription, java.lang.Long min, java.lang.Long max, java.lang.Long theDefault, float theUIOrder)
theName
- StringtheDescription
- Stringmin
- Longmax
- LongtheDefault
- LongtheUIOrder
- floatjava.lang.IllegalArgumentException
public LongProperty(java.lang.String theName, java.lang.String theDescription, java.lang.String minStr, java.lang.String maxStr, java.lang.String defaultStr, float theUIOrder)
theName
- StringtheDescription
- StringminStr
- StringmaxStr
- StringdefaultStr
- StringtheUIOrder
- floatjava.lang.IllegalArgumentException
public static java.lang.Long longFrom(java.lang.String numberString)
numberString
- Stringpublic java.lang.Class<java.lang.Long> type()
PropertyDescriptor
PropertyDescriptor.type()
protected java.lang.Object createFrom(java.lang.String value)
createFrom
in class AbstractScalarProperty<java.lang.Long>
value
- StringCopyright © 2002-2014 InfoEther. All Rights Reserved.