Package lumis.content.source.field.type
Class TagDataType
- java.lang.Object
-
- lumis.doui.datatype.AbstractDouiDataType
-
- lumis.doui.source.field.type.AbstractSourceFieldDataType
-
- lumis.content.source.field.type.TagDataType
-
- All Implemented Interfaces:
IDouiDataType
,ISourceFieldDataType
@StableMinor(version="14.0", sinceVersion="9.0") public class TagDataType extends AbstractSourceFieldDataType
Tag data type.- Since:
- 9.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagDataType.Data
Data object for a field with data type tag.
-
Constructor Summary
Constructors Constructor Description TagDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IConverter
createConverter()
Creates the converter instance that will be used by this data type.String
getDefaultFilterControlType()
Returns the default filter control type for this data type.String
getDefaultInputControlType()
Returns the default input control type for this data type.String
getId()
Returns the id for this data type.String
getQueryDataType()
Returns aQueryFieldTypes
constant for a query data type the value of this source field data type is best suited to be kept in.Class<? extends TagDataType.Data>
getValueClass()
Returns the value class for data of this type.-
Methods inherited from class lumis.doui.source.field.type.AbstractSourceFieldDataType
getDocumentFieldValues, getDocumentTypeFieldTemplates, init
-
Methods inherited from class lumis.doui.datatype.AbstractDouiDataType
equals, getConverter, getDefaultViewControlType, getDefinitionLocale, getDefinitionPattern, hashCode, isComplexDataType, 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, isComplexDataType
-
Methods inherited from interface lumis.doui.source.field.type.ISourceFieldDataType
postAdd, postDelete, postUpdate, preAdd, preDelete, preUpdate
-
-
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:IDouiDataType
Returns the id for this data type.- Specified by:
getId
in interfaceIDouiDataType
- Specified by:
getId
in classAbstractDouiDataType
- Returns:
- the id for this data type.
-
getQueryDataType
public String getQueryDataType()
Description copied from interface:ISourceFieldDataType
Returns aQueryFieldTypes
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 interfaceISourceFieldDataType
- Specified by:
getQueryDataType
in classAbstractSourceFieldDataType
- Returns:
- a
QueryFieldTypes
constant.
-
getValueClass
public Class<? extends TagDataType.Data> getValueClass()
Description copied from interface:IDouiDataType
Returns the value class for data of this type.- Specified by:
getValueClass
in interfaceIDouiDataType
- Overrides:
getValueClass
in classAbstractDouiDataType
- 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 interfaceIDouiDataType
- Overrides:
getDefaultInputControlType
in classAbstractDouiDataType
- Returns:
- the default input control type for this data type, or null if this data type has no default input control type.
-
getDefaultFilterControlType
public String getDefaultFilterControlType()
Description copied from interface:IDouiDataType
Returns the default filter control type for this data type. Implementors are encouraged to use the same value ofIDouiDataType.getDefaultInputControlType()
when no special control is required for using inside filters.- Specified by:
getDefaultFilterControlType
in interfaceIDouiDataType
- Overrides:
getDefaultFilterControlType
in classAbstractDouiDataType
- Returns:
- the default filter control type for this data type, or null if this data type has no default input control type.
-
createConverter
public IConverter createConverter()
Description copied from class:AbstractDouiDataType
Creates the converter instance that will be used by this data type.- Overrides:
createConverter
in classAbstractDouiDataType
- Returns:
- the converter instance.
-
-