Klasse DataType.DataTypeDescription<T>

java.lang.Object
org.deidentifier.arx.DataType.DataTypeDescription<T>
Typparameter:
T -
Alle implementierten Schnittstellen:
Serializable
Umschließende Klasse:
DataType<T>

public abstract static class DataType.DataTypeDescription<T> extends Object implements Serializable
An entry in the list of available data types.
Siehe auch:
  • Methodendetails

    • getExampleFormats

      public List<String> getExampleFormats()
      Returns a list of example formats.
      Gibt zurück:
    • getLabel

      public String getLabel()
      Returns a human readable label.
      Gibt zurück:
    • getScale

      public DataScale getScale()
      Scale
      Gibt zurück:
    • getWrappedClass

      public Class<?> 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

      public abstract DataType<T> newInstance()
      Creates a new instance with default format string and default locale.
      Gibt zurück:
    • newInstance

      public abstract DataType<T> newInstance(String format)
      Creates a new instance with the given format string and default locale.
      Parameter:
      format -
      Gibt zurück:
    • newInstance

      public abstract DataType<T> newInstance(String format, Locale locale)
      Creates a new instance with the given format string and the given locale.
      Parameter:
      format -
      locale -
      Gibt zurück:
    • newInstance

      public DataType<T> newInstance(Locale locale)
      Creates a new instance with default format and the given locale.
      Parameter:
      locale -
      Gibt zurück: