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

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.HashSetType
All Implemented Interfaces:
DataType, TypedObject, java.io.Serializable

public class HashSetType
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
HashSetType()
           
HashSetType(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.lang.Object fromString(java.lang.String str, java.lang.String pattern, java.lang.String itemPattern, java.util.Locale locale)
           
 java.lang.String getDefaultPattern()
           
 java.util.Set getDefaultValue()
           
 java.lang.Class<?> getReturnedClass()
           
 java.lang.String getType()
           
 java.util.Set typeCast(java.lang.Object from)
           
 
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

HashSetType

public HashSetType()

HashSetType

public HashSetType(DataType itemType)
Method Detail

typeCast

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

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

getDefaultValue

public java.util.Set 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.lang.String itemPattern,
                                   java.util.Locale locale)
Specified by:
fromString in class AbstractCollectionType


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