com.pmease.quickbuild.plugin.report.engine.datatype
Class LongType
java.lang.Object
com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
com.pmease.quickbuild.plugin.report.engine.datatype.AbstractNumericType
com.pmease.quickbuild.plugin.report.engine.datatype.LongType
- All Implemented Interfaces:
- DataType, TypedObject, java.io.Serializable
- Direct Known Subclasses:
- DataSizeType, DurationType, IdType
public class LongType
- extends AbstractNumericType
- See Also:
- Serialized Form
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType |
asString, asString, compare, equals, fromString, fromString, fromXML, getNodeType, getReadFormat, getWriteFormat, hashCode, isCollectionType, isEqual, isIdType, newInstance, setNodeType, toString, toXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LongType
public LongType()
fromString
public java.lang.Object fromString(java.lang.String str,
java.lang.String pattern,
java.util.Locale locale)
getDefaultValue
public java.lang.Long getDefaultValue()
- Specified by:
getDefaultValue
in interface DataType
- Overrides:
getDefaultValue
in class AbstractDataType
asString
public java.lang.String asString(java.lang.Object value,
java.lang.String pattern,
java.util.Locale locale)
typeCast
public java.lang.Long typeCast(java.lang.Object from)
getDefaultPattern
public java.lang.String getDefaultPattern()
getReturnedClass
public java.lang.Class<?> getReturnedClass()
getSqlType
public java.lang.String getSqlType()
getType
public java.lang.String getType()
fromDbObject
public java.lang.Object fromDbObject(java.sql.ResultSet rs,
java.lang.String columnName)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.