Package org.deidentifier.arx
Klasse DataType.DataTypeDescription<T>
java.lang.Object
org.deidentifier.arx.DataType.DataTypeDescription<T>
- Typparameter:
T-
- Alle implementierten Schnittstellen:
Serializable
An entry in the list of available data types.
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a list of example formats.getLabel()Returns a human readable label.getScale()ScaleClass<?> Returns the wrapped java class.booleanReturns whether the type be parameterized with a format string.Creates a new instance with default format string and default locale.newInstance(String format) Creates a new instance with the given format string and default locale.newInstance(String format, Locale locale) Creates a new instance with the given format string and the given locale.newInstance(Locale locale) Creates a new instance with default format and the given locale.
-
Methodendetails
-
getExampleFormats
Returns a list of example formats.- Gibt zurück:
-
getLabel
Returns a human readable label.- Gibt zurück:
-
getScale
Scale- Gibt zurück:
-
getWrappedClass
Returns the wrapped java class.- Gibt zurück:
-
hasFormat
public boolean hasFormat()Returns whether the type be parameterized with a format string. Note that every data type can be instantiated without a format string, using a default format.- Gibt zurück:
-
newInstance
Creates a new instance with default format string and default locale.- Gibt zurück:
-
newInstance
Creates a new instance with the given format string and default locale.- Parameter:
format-- Gibt zurück:
-
newInstance
Creates a new instance with the given format string and the given locale.- Parameter:
format-locale-- Gibt zurück:
-
newInstance
Creates a new instance with default format and the given locale.- Parameter:
locale-- Gibt zurück:
-