Package org.exolab.castor.mapping.loader
Class Types.TypeInfo
- java.lang.Object
-
- org.exolab.castor.mapping.loader.Types.TypeInfo
-
- Enclosing class:
- Types
static class Types.TypeInfo extends java.lang.Object
Information about a specific Java type.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Object
_defaultValue
The default value for the type, if known.(package private) boolean
_immutable
True if the type is immutable.(package private) java.lang.Class<?>
_javaType
The Java type (e.g.(package private) java.lang.Class<?>
_primitive
The primitive Java type, if exists (e.g.(package private) java.lang.String
_shortName
The short type name (e.g.
-
Constructor Summary
Constructors Constructor Description TypeInfo(java.lang.String shortName, java.lang.Class<?> primitive, java.lang.Class<?> javaType, boolean immutable, java.lang.Object defaultValue)
-
-
-
Field Detail
-
_shortName
final java.lang.String _shortName
The short type name (e.g. integer).
-
_primitive
final java.lang.Class<?> _primitive
The primitive Java type, if exists (e.g. Integer.TYPE).
-
_javaType
final java.lang.Class<?> _javaType
The Java type (e.g. java.lang.Integer).
-
_immutable
final boolean _immutable
True if the type is immutable.
-
_defaultValue
final java.lang.Object _defaultValue
The default value for the type, if known.
-
-