Class ValueClassDatatype

All Implemented Interfaces:
Comparable<Datatype>, Datatype, ValueDatatype

@Deprecated public abstract class ValueClassDatatype extends ValueClassNameDatatype
Deprecated.
since 3.17 the datatype does not need to know its java class name. All concerns of the generated code are part of the corresponding datatype helper. You could simply use the supertype ValueClassNameDatatype to have the same functionality.
A datatype that represents a Java class representing a value, for example java.lang.String.
  • Constructor Details

    • ValueClassDatatype

      public ValueClassDatatype(Class<?> clazz)
      Deprecated.
      Creates a new instance using the given type. The name is provided from the given class name.
      Parameters:
      clazz - The java class that should be represented by this datatype
    • ValueClassDatatype

      public ValueClassDatatype(Class<?> clazz, String name)
      Deprecated.
      Creates a new instance using the given class and name.
      Parameters:
      clazz - The java class that should be represented by this datatype
      name - The name of the datatype