T
- public abstract static class DataType.DataTypeDescription<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getExampleFormats()
Returns a list of example formats.
|
java.lang.String |
getLabel()
Returns a human readable label.
|
DataScale |
getScale()
Scale
|
java.lang.Class<?> |
getWrappedClass()
Returns the wrapped java class.
|
boolean |
hasFormat()
Returns whether the type be parameterized with a format string.
|
abstract DataType<T> |
newInstance()
Creates a new instance with default format string and default locale.
|
DataType<T> |
newInstance(java.util.Locale locale)
Creates a new instance with default format and the given locale.
|
abstract DataType<T> |
newInstance(java.lang.String format)
Creates a new instance with the given format string and default locale.
|
abstract DataType<T> |
newInstance(java.lang.String format,
java.util.Locale locale)
Creates a new instance with the given format string and the given locale.
|
public java.util.List<java.lang.String> getExampleFormats()
public java.lang.String getLabel()
public DataScale getScale()
public java.lang.Class<?> getWrappedClass()
public boolean hasFormat()
public abstract DataType<T> newInstance()
public abstract DataType<T> newInstance(java.lang.String format)
format
- public abstract DataType<T> newInstance(java.lang.String format, java.util.Locale locale)
format
- locale
-