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) |
getValue
public ScalarValue getVal(String value)
getVal
in class SimpleType
value
- public TypeCodec getCodec(Operator operator, boolean optional)
getCodec
in class SimpleType
operator
- 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 Type
public boolean isValueOf(ScalarValue previousValue)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.