lumis.doui.source.field.type
Class TimeDataType

Package class diagram package TimeDataType
java.lang.Object
  extended by lumis.doui.datatype.AbstractDouiDataType
      extended by lumis.doui.source.field.type.AbstractSourceFieldDataType
          extended by lumis.doui.source.field.type.TimeDataType
All Implemented Interfaces:
IDouiDataType, ISourceFieldDataType

public class TimeDataType
extends AbstractSourceFieldDataType

A time data type. Its value stores only time information, it does not store the date information.

Since:
4.0.4

Nested Class Summary
static class TimeDataType.Data
           
 
Constructor Summary
TimeDataType()
           
 
Method Summary
protected  IConverter createConverter()
          Creates the converter instance that will be used by this data type.
 String getDefaultInputControlType()
          Returns the default input control type for this data type.
 String getDefinitionPattern()
          Returns the pattern to be used to parse the values of this data type in a definition xml file.
 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<TimeDataType.Data> 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
equals, getConverter, getDefaultViewControlType, getDefinitionLocale, 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
 

Constructor Detail

TimeDataType

public TimeDataType()
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.

createConverter

protected IConverter createConverter()
Description copied from class: AbstractDouiDataType
Creates the converter instance that will be used by this data type.

Overrides:
createConverter in class AbstractDouiDataType
Returns:
the converter instance.

getValueClass

public Class<TimeDataType.Data> 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.

getDefinitionPattern

public String getDefinitionPattern()
Description copied from class: AbstractDouiDataType
Returns the pattern to be used to parse the values of this data type in a definition xml file.

This generic implementation returns null.

Specified by:
getDefinitionPattern in interface IDouiDataType
Overrides:
getDefinitionPattern in class AbstractDouiDataType
Returns:
the pattern for definition values.


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