public abstract class IntegerType extends SimpleType
Modifier and Type | Field and Description |
---|---|
protected long |
maxValue |
protected long |
minValue |
Constructor and Description |
---|
IntegerType(String typeName,
long minValue,
long maxValue,
TypeCodec codec,
TypeCodec nullableCodec) |
Modifier and Type | Method and Description |
---|---|
ScalarValue |
getDefaultValue() |
protected ScalarValue |
getVal(String value) |
boolean |
isValueOf(ScalarValue previousValue) |
void |
validateValue(ScalarValue value)
Validates the passed ScalarValue, if fails, throws error.
|
getCodec, getValue
protected ScalarValue getVal(String value)
getVal
in class SimpleType
value
- public ScalarValue getDefaultValue()
getDefaultValue
in class Type
public boolean isValueOf(ScalarValue previousValue)
public void validateValue(ScalarValue value)
validateValue
in class Type
value
- The ScalarValue object to be validatedCopyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.