org.openfast.template.type
Class DateType
java.lang.Object
org.openfast.template.type.Type
org.openfast.template.type.DateType
- All Implemented Interfaces:
- java.io.Serializable
public class DateType
- extends Type
- See Also:
- Serialized Form
| Fields inherited from class org.openfast.template.type.Type |
ALL_TYPES, ASCII, BYTE_VECTOR, DECIMAL, I16, I32, I64, I8, INTEGER_TYPES, STRING, U16, U32, U64, U8, UNICODE |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DateType
public DateType(java.lang.String dateFormat,
TypeCodec dateCodec)
DateType
public DateType(java.text.DateFormat dateFormat,
TypeCodec dateCodec)
getDefaultValue
public ScalarValue getDefaultValue()
- Specified by:
getDefaultValue in class Type
isValueOf
public boolean isValueOf(ScalarValue previousValue)
- Specified by:
isValueOf in class Type
getCodec
public TypeCodec getCodec(Operator operator,
boolean optional)
- Specified by:
getCodec in class Type
getValue
public ScalarValue getValue(java.lang.String value)
- Specified by:
getValue in class Type
serialize
public java.lang.String serialize(ScalarValue value)
- Overrides:
serialize in class Type
hashCode
public int hashCode()
- Overrides:
hashCode in class Type
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class Type
Copyright © 2006-2008 The LaSalle Technology Group, LLC. All Rights Reserved.