lumis.doui.source.field.type
Class TextDataType

Package class diagram package TextDataType
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
              extended by lumis.doui.source.field.type.TextDataType
All Implemented Interfaces:
IDouiDataType, ISourceFieldDataType
Direct Known Subclasses:
HtmlDataType

public class TextDataType
extends StringDataType

A text data type. The diference from a string data type is that a text data type is for long texts, while a string data type is for short texts.

Since:
4.0.4

Constructor Summary
TextDataType()
           
 
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.
 
Methods inherited from class lumis.doui.source.field.type.StringDataType
getValueClass
 
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

TextDataType

public TextDataType()
Method Detail

getId

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

Specified by:
getId in interface IDouiDataType
Overrides:
getId in class StringDataType
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
Overrides:
getQueryDataType in class StringDataType
Returns:
a QueryFieldTypes constant.

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 StringDataType
Returns:
the default input control type for this data type, or null if this data type has no default input control type.


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.