Class Types.TypeInfo

java.lang.Object
org.exolab.castor.mapping.loader.Types.TypeInfo
Enclosing class:
Types

static class Types.TypeInfo extends Object
Information about a specific Java type.
  • Field Details

    • _shortName

      final String _shortName
      The short type name (e.g. integer).
    • _primitive

      final Class<?> _primitive
      The primitive Java type, if exists (e.g. Integer.TYPE).
    • _javaType

      final Class<?> _javaType
      The Java type (e.g. java.lang.Integer).
    • _immutable

      final boolean _immutable
      True if the type is immutable.
    • _defaultValue

      final Object _defaultValue
      The default value for the type, if known.
  • Constructor Details

    • TypeInfo

      TypeInfo(String shortName, Class<?> primitive, Class<?> javaType, boolean immutable, Object defaultValue)