lumis.doui.source.field.type
Class StringDataType

Package class diagram package StringDataType
java.lang.Object
  extended by lumis.doui.datatype.AbstractDouiDataType
      extended by lumis.doui.source.field.type.AbstractSourceFieldDataType
          extended by lumis.doui.source.field.type.StringDataType
All Implemented Interfaces:
IDouiDataType, ISourceFieldDataType
Direct Known Subclasses:
GuidDataType, TextDataType

public class StringDataType
extends AbstractSourceFieldDataType

A string data type.

Since:
4.0.4

Constructor Summary
StringDataType()
           
 
Method Summary
 String getDefaultInputControlType()
          Returns the default input control type for this data type.
 String getId()
          Returns the id for this data type.
 String getQueryDataType()
          Returns a QueryFieldTypes constant for a query data type the value of this source field data type is best suited to be kept in.
 Class<? extends CharSequence> getValueClass()
          Returns the value class for data of this type.
 
Methods inherited from class lumis.doui.source.field.type.AbstractSourceFieldDataType
init
 
Methods inherited from class lumis.doui.datatype.AbstractDouiDataType
createConverter, equals, getConverter, getDefaultViewControlType, getDefinitionLocale, getDefinitionPattern, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface lumis.doui.datatype.IDouiDataType
getConverter, getDefaultViewControlType, getDefinitionLocale, getDefinitionPattern
 

Constructor Detail

StringDataType

public StringDataType()
Method Detail

getId

public String getId()
Description copied from interface: IDouiDataType
Returns the id for this data type.

Specified by:
getId in interface IDouiDataType
Specified by:
getId in class AbstractDouiDataType
Returns:
the id for this data type.

getQueryDataType

public String getQueryDataType()
Description copied from interface: ISourceFieldDataType
Returns a QueryFieldTypes constant for a query data type the value of this source field data type is best suited to be kept in.

Specified by:
getQueryDataType in interface ISourceFieldDataType
Specified by:
getQueryDataType in class AbstractSourceFieldDataType
Returns:
a QueryFieldTypes constant.

getValueClass

public Class<? extends CharSequence> getValueClass()
Description copied from interface: IDouiDataType
Returns the value class for data of this type.

Specified by:
getValueClass in interface IDouiDataType
Overrides:
getValueClass in class AbstractDouiDataType
Returns:
the value class for data of this type.

getDefaultInputControlType

public String getDefaultInputControlType()
Description copied from interface: IDouiDataType
Returns the default input control type for this data type.

Specified by:
getDefaultInputControlType in interface IDouiDataType
Overrides:
getDefaultInputControlType in class AbstractDouiDataType
Returns:
the default input control type for this data type, or null if this data type has no default input control type.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.