com.pmease.quickbuild.plugin.report.engine.datatype
Class BooleanType
java.lang.Object
com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
com.pmease.quickbuild.plugin.report.engine.datatype.BooleanType
- All Implemented Interfaces:
- DataType, TypedObject, java.io.Serializable
public class BooleanType
- extends AbstractDataType
- 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, isNumericType, newInstance, readFromNode, setNodeType, toString, toXML, writeToNode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BooleanType
public BooleanType()
isPrimitiveType
public boolean isPrimitiveType()
- Specified by:
isPrimitiveType
in interface DataType
- Overrides:
isPrimitiveType
in class AbstractDataType
getDefaultValue
public java.lang.Object getDefaultValue()
- Specified by:
getDefaultValue
in interface DataType
- Overrides:
getDefaultValue
in class AbstractDataType
getReturnedClass
public java.lang.Class<?> getReturnedClass()
typeCast
public java.lang.Boolean typeCast(java.lang.Object from)
toNumber
public java.lang.Number toNumber(java.lang.Object value)
fromString
public java.lang.Object fromString(java.lang.String str,
java.lang.String pattern,
java.util.Locale locale)
asString
public java.lang.String asString(java.lang.Object value,
java.lang.String pattern,
java.util.Locale locale)
getDefaultPattern
public java.lang.String getDefaultPattern()
asDbObject
public java.lang.Object asDbObject(java.lang.Object original)
fromDbObject
public java.lang.Object fromDbObject(java.lang.Object original)
getType
public java.lang.String getType()
getSqlType
public java.lang.String getSqlType()
fromDbObject
public java.lang.Object fromDbObject(java.sql.ResultSet rs,
java.lang.String columnName)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.