public class PredefinedType extends BaseReflectionJavaType
getPredefinedType(String name)
to lookup a predefined
type by name. Method getPredefinedTypes()
returns a view of the
map of predefined types.Modifier and Type | Field and Description |
---|---|
static PredefinedType |
abstractCollectionType
The JavaType instance for the class java.util.AbstractCollection.
|
static PredefinedType |
abstractListType
The JavaType instance for the class java.util.AbstractList.
|
static PredefinedType |
abstractMapType
The JavaType instance for the class java.util.AbstractMap.
|
static PredefinedType |
abstractSetType
The JavaType instance for the class java.util.AbstractSet.
|
static JDOSupportedCollectionType |
arrayListType
The JavaType instance for the class java.util.ArrayList.
|
static ValueClassType |
bigDecimalType
The JavaType instance for the class java.math.BigDecimal.
|
static ValueClassType |
bigIntegerType
The JavaType instance for the class java.math.BigInteger.
|
static MutableValueClassType |
bitsetType
The JavaType instance for the class java.util.BitSet.
|
static WrapperClassType |
booleanClassType
The JavaType instance for the class java.lang.Boolean.
|
static PrimitiveType |
booleanType
The JavaType instance for the primitive type boolean.
|
static WrapperClassType |
byteClassType
The JavaType instance for the class java.lang.Byte.
|
static IntegralType |
byteType
The JavaType instance for the integral type byte.
|
static WrapperClassType |
characterClassType
The JavaType instance for the class java.lang.Character.
|
static IntegralType |
charType
The JavaType instance for the integral type char.
|
static JDOSupportedCollectionType |
collectionType
The JavaType instance for the interface java.util.Collection.
|
static MutableValueClassType |
dateType
The JavaType instance for the class java.util.Date.
|
static PredefinedType |
dictionaryType
The JavaType instance for the class java.util.Dictionary.
|
static WrapperClassType |
doubleClassType
The JavaType instance for the class java.lang.Double.
|
static FloatingPointType |
doubleType
The JavaType instance for the floating point type double.
|
static WrapperClassType |
floatClassType
The JavaType instance for the class java.lang.Float.
|
static FloatingPointType |
floatType
The JavaType instance for the floating point type float.
|
static JDOSupportedMapType |
hashMapType
The JavaType instance for the class java.util.HashMap.
|
static JDOSupportedCollectionType |
hashSetType
The JavaType instance for the class java.util.HashSet.
|
static JDOSupportedMapType |
hashtableType
The JavaType instance for the class java.util.Hashtable.
|
static WrapperClassType |
integerClassType
The JavaType instance for the class java.lang.Integer.
|
static IntegralType |
intType
The JavaType instance for the integral type int.
|
static JDOSupportedCollectionType |
linkedListType
The JavaType instance for the class java.util.LinkedList.
|
static JDOSupportedCollectionType |
listType
The JavaType instance for the interface java.util.List.
|
static ValueClassType |
localeType
The JavaType instance for the class java.lang.Locale.
|
static WrapperClassType |
longClassType
The JavaType instance for the class java.lang.Long.
|
static IntegralType |
longType
The JavaType instance for the integral type long.
|
static JDOSupportedMapType |
mapType
The JavaType instance for the interface java.util.Map.
|
static ValueClassType |
numberType
The JavaType instance for the class java.lang.Numer.
|
static PredefinedType |
objectType
The JavaType instance for the class java.lang.Object.
|
static JDOSupportedMapType |
propertiesType
The JavaType instance for the class java.util.Properties.
|
static JDOSupportedCollectionType |
setType
The JavaType instance for the interface java.util.Set.
|
static WrapperClassType |
shortClassType
The JavaType instance for the class java.lang.Short.
|
static IntegralType |
shortType
The JavaType instance for the integral type short.
|
static MutableValueClassType |
sqlDateType
The JavaType instance for the class java.sql.Date.
|
static MutableValueClassType |
sqlTimestampType
The JavaType instance for the class java.sql.Timestamp.
|
static MutableValueClassType |
sqlTimeType
The JavaType instance for the class java.sql.Time.
|
static JDOSupportedCollectionType |
stackType
The JavaType instance for the class java.util.Stack.
|
static ValueClassType |
stringType
The JavaType instance for the class java.lang.String.
|
static JDOSupportedMapType |
treeMapType
The JavaType instance for the class java.util.TreeMap.
|
static JDOSupportedCollectionType |
treeSetType
The JavaType instance for the class java.util.TreeSet.
|
static JDOSupportedCollectionType |
vectorType
The JavaType instance for the class java.util.Vector.
|
static PredefinedType |
voidType
The JavaType instance for the type void.
|
clazz, superclass
Modifier | Constructor and Description |
---|---|
protected |
PredefinedType(java.lang.Class clazz)
Constructor taking a Class instance.
|
protected |
PredefinedType(java.lang.Class clazz,
JavaType superclass)
Constructor taking a Class instance and a JavaType representing the
superclass of the new JavaType instance.
|
Modifier and Type | Method and Description |
---|---|
static JavaType |
getPredefinedType(java.lang.String name)
Returns the JavaType instance for a predefined type with the
specified name.
|
static java.util.Map |
getPredefinedTypes()
Returns an unmodifiable view of the predefined types map.
|
getJavaClass, getJavaField, getModifiers, getName, getSuperclass, isCompatibleWith, isInterface
equals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isOrderable, isPersistenceCapable, isPrimitive, isTrackable, isValue, isWrapperClass, toString
public static final PredefinedType objectType
public static final PredefinedType voidType
public static final PrimitiveType booleanType
public static final IntegralType byteType
public static final IntegralType shortType
public static final IntegralType intType
public static final IntegralType longType
public static final IntegralType charType
public static final FloatingPointType floatType
public static final FloatingPointType doubleType
public static final ValueClassType numberType
public static final ValueClassType stringType
public static final ValueClassType localeType
public static final ValueClassType bigDecimalType
public static final ValueClassType bigIntegerType
public static final WrapperClassType booleanClassType
public static final WrapperClassType byteClassType
public static final WrapperClassType shortClassType
public static final WrapperClassType integerClassType
public static final WrapperClassType longClassType
public static final WrapperClassType characterClassType
public static final WrapperClassType floatClassType
public static final WrapperClassType doubleClassType
public static final MutableValueClassType dateType
public static final MutableValueClassType sqlDateType
public static final MutableValueClassType sqlTimeType
public static final MutableValueClassType sqlTimestampType
public static final MutableValueClassType bitsetType
public static final JDOSupportedCollectionType collectionType
public static final JDOSupportedCollectionType setType
public static final JDOSupportedCollectionType listType
public static final PredefinedType abstractCollectionType
public static final PredefinedType abstractSetType
public static final JDOSupportedCollectionType hashSetType
public static final JDOSupportedCollectionType treeSetType
public static final PredefinedType abstractListType
public static final JDOSupportedCollectionType arrayListType
public static final JDOSupportedCollectionType linkedListType
public static final JDOSupportedCollectionType vectorType
public static final JDOSupportedCollectionType stackType
public static final JDOSupportedMapType mapType
public static final PredefinedType abstractMapType
public static final JDOSupportedMapType hashMapType
public static final PredefinedType dictionaryType
public static final JDOSupportedMapType hashtableType
public static final JDOSupportedMapType propertiesType
public static final JDOSupportedMapType treeMapType
protected PredefinedType(java.lang.Class clazz)
clazz
- the Class instance for this JavaTypeprotected PredefinedType(java.lang.Class clazz, JavaType superclass)
clazz
- the Class instance for this JavaTypesuperclass
- the JavaType representing the superclass or
null
if there is no superclass.public static JavaType getPredefinedType(java.lang.String name)
null
if the specified
name does not denote a predefined type.name
- the name of the predefined type.public static java.util.Map getPredefinedTypes()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.