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

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

public class ListType
extends AbstractCollectionType

See Also:
Serialized Form

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

Constructor Detail

ListType

public ListType()

ListType

public ListType(DataType itemType)
Method Detail

typeCast

public java.util.List typeCast(java.lang.Object from)

typeCast

public java.util.List typeCast(java.lang.Object from,
                               java.lang.String pattern)

getDefaultValue

public java.util.List getDefaultValue()
Specified by:
getDefaultValue in interface DataType
Overrides:
getDefaultValue in class AbstractDataType

getDefaultPattern

public java.lang.String getDefaultPattern()

getReturnedClass

public java.lang.Class<?> getReturnedClass()

getType

public java.lang.String getType()

asString

public java.lang.String asString(java.lang.Object value,
                                 java.lang.String pattern,
                                 java.lang.String itemPattern,
                                 java.util.Locale locale)
Specified by:
asString in class AbstractCollectionType

fromString

public java.util.List fromString(java.lang.String str,
                                 java.lang.String pattern,
                                 java.lang.String itemPattern,
                                 java.util.Locale locale)
Specified by:
fromString in class AbstractCollectionType


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