|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.datatype.AbstractDouiDataType
@StableMinor(version="5.5", sinceVersion="4.0") public abstract class AbstractDouiDataType
Base implementation for the IDouiDataType
interface.
Constructor Summary | |
---|---|
protected |
AbstractDouiDataType()
Creates a doui data type. |
Method Summary | |
---|---|
protected IConverter |
createConverter()
Creates the converter instance that will be used by this data type. |
boolean |
equals(Object obj)
|
IConverter |
getConverter()
Returns the converter for data of this type. |
String |
getDefaultInputControlType()
Returns the default input control type for this data type. |
String |
getDefaultViewControlType()
Returns the default control type for viewing this data type's values. |
Locale |
getDefinitionLocale()
Returns the locale to be used to parse the values of this data type in a definition xml file. |
String |
getDefinitionPattern()
Returns the pattern to be used to parse the values of this data type in a definition xml file. |
abstract String |
getId()
Returns the id for this data type. |
Class<?> |
getValueClass()
Returns the value class for data of this type. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractDouiDataType()
createConverter()
.
Method Detail |
---|
public abstract String getId()
IDouiDataType
getId
in interface IDouiDataType
public String getDefaultInputControlType()
IDouiDataType
getDefaultInputControlType
in interface IDouiDataType
public String getDefaultViewControlType()
IDouiDataType
getDefaultViewControlType
in interface IDouiDataType
protected IConverter createConverter()
public IConverter getConverter()
IDouiDataType
getConverter
in interface IDouiDataType
public Class<?> getValueClass()
IDouiDataType
getValueClass
in interface IDouiDataType
public Locale getDefinitionLocale()
This generic implementation returns Locale.US
.
getDefinitionLocale
in interface IDouiDataType
public String getDefinitionPattern()
This generic implementation returns null
.
getDefinitionPattern
in interface IDouiDataType
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |