com.pmease.quickbuild.plugin.report.engine.datatype
Class IntegerType

java.lang.Object
  extended by com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
      extended by com.pmease.quickbuild.plugin.report.engine.datatype.AbstractNumericType
          extended by com.pmease.quickbuild.plugin.report.engine.datatype.IntegerType
All Implemented Interfaces:
DataType, TypedObject, java.io.Serializable

public class IntegerType
extends AbstractNumericType

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
CSV_FORMAT, nodeType, XML_FORMAT
 
Constructor Summary
IntegerType()
           
 
Method Summary
 java.lang.String asString(java.lang.Object value, java.lang.String pattern, java.util.Locale locale)
           
 java.lang.Object fromDbObject(java.sql.ResultSet rs, java.lang.String columnName)
           
 java.lang.Object fromString(java.lang.String str, java.lang.String pattern, java.util.Locale locale)
           
 java.lang.String getDefaultPattern()
           
 java.lang.Integer getDefaultValue()
           
 java.lang.Class<?> getReturnedClass()
           
 java.lang.String getSqlType()
           
 java.lang.String getType()
           
static void main(java.lang.String[] argv)
           
 java.lang.Integer typeCast(java.lang.Object from)
           
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.AbstractNumericType
asDbObject, isNumericType, isPrimitiveType, readFromNode, toNumber, writeToNode
 
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
 

Constructor Detail

IntegerType

public IntegerType()
Method Detail

getDefaultValue

public java.lang.Integer getDefaultValue()
Specified by:
getDefaultValue in interface DataType
Overrides:
getDefaultValue in class AbstractDataType

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)

typeCast

public java.lang.Integer 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)

main

public static void main(java.lang.String[] argv)
                 throws java.text.ParseException
Throws:
java.text.ParseException


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.