public class StringType extends SimpleType
| Constructor and Description |
|---|
StringType(String typeName,
TypeCodec codec,
TypeCodec nullableCodec) |
| Modifier and Type | Method and Description |
|---|---|
TypeCodec |
getCodec(Operator operator,
boolean optional)
Get the approprivate codec for the passed operator
|
ScalarValue |
getDefaultValue() |
ScalarValue |
getVal(String value) |
boolean |
isValueOf(ScalarValue previousValue) |
getValuepublic ScalarValue getVal(String value)
getVal in class SimpleTypevalue - public TypeCodec getCodec(Operator operator, boolean optional)
getCodec in class SimpleTypeoperator - The operator object in which the codec is trying to getoptional - Determines if the Field is required or not for the datapublic ScalarValue getDefaultValue()
getDefaultValue in class Typepublic boolean isValueOf(ScalarValue previousValue)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.