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, getValueprotected ScalarValue getVal(String value)
getVal in class SimpleTypevalue - public ScalarValue getDefaultValue()
getDefaultValue in class Typepublic boolean isValueOf(ScalarValue previousValue)
public void validateValue(ScalarValue value)
validateValue in class Typevalue - The ScalarValue object to be validatedCopyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.