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

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

public class BlockType
extends ObjectType

See Also:
Serialized Form

Field Summary
static java.lang.String ESCAPE_LF
           
 
Fields inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
CSV_FORMAT, nodeType, XML_FORMAT
 
Constructor Summary
BlockType()
           
 
Method Summary
 java.lang.Object asDbObject(java.lang.Object original)
           
 java.lang.String asString(java.lang.Object value, java.lang.String pattern, java.util.Locale locale)
           
 java.lang.Object fromDbObject(java.lang.Object original)
           
 java.lang.Object fromString(java.lang.String str, java.lang.String pattern, java.util.Locale locale)
           
 java.lang.String getDefaultPattern()
           
 Block getDefaultValue()
           
protected  java.lang.String getReadFormat()
           
 java.lang.Class<?> getReturnedClass()
           
 java.lang.String getType()
           
 Block typeCast(java.lang.Object from)
           
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.ObjectType
fromDbObject, getSqlType
 
Methods inherited from class com.pmease.quickbuild.plugin.report.engine.datatype.AbstractDataType
asString, asString, compare, equals, fromString, fromString, fromXML, getNodeType, getWriteFormat, hashCode, isCollectionType, isEqual, isIdType, isNumericType, isPrimitiveType, newInstance, readFromNode, setNodeType, toString, toXML, writeToNode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ESCAPE_LF

public static final java.lang.String ESCAPE_LF
See Also:
Constant Field Values
Constructor Detail

BlockType

public BlockType()
Method Detail

getReadFormat

protected java.lang.String getReadFormat()
Overrides:
getReadFormat in class AbstractDataType

fromString

public java.lang.Object fromString(java.lang.String str,
                                   java.lang.String pattern,
                                   java.util.Locale locale)
Specified by:
fromString in interface DataType
Overrides:
fromString in class ObjectType

asString

public java.lang.String asString(java.lang.Object value,
                                 java.lang.String pattern,
                                 java.util.Locale locale)
Specified by:
asString in interface DataType
Overrides:
asString in class ObjectType

typeCast

public Block typeCast(java.lang.Object from)
Specified by:
typeCast in interface DataType
Overrides:
typeCast in class ObjectType

getDefaultPattern

public java.lang.String getDefaultPattern()
Specified by:
getDefaultPattern in interface DataType
Overrides:
getDefaultPattern in class ObjectType

getReturnedClass

public java.lang.Class<?> getReturnedClass()
Specified by:
getReturnedClass in interface DataType
Overrides:
getReturnedClass in class ObjectType

getDefaultValue

public Block getDefaultValue()
Specified by:
getDefaultValue in interface DataType
Overrides:
getDefaultValue in class AbstractDataType

asDbObject

public java.lang.Object asDbObject(java.lang.Object original)
Specified by:
asDbObject in interface DataType
Overrides:
asDbObject in class ObjectType

fromDbObject

public java.lang.Object fromDbObject(java.lang.Object original)
Overrides:
fromDbObject in class ObjectType

getType

public java.lang.String getType()
Specified by:
getType in interface TypedObject
Overrides:
getType in class ObjectType


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