public class JDOSupportedMapType extends PredefinedType
Class PredefinedType provides public static final variables referring to the JavaType representation for JDO supported map types.
PredefinedType.mapType,
PredefinedType.hashMapType,
PredefinedType.hashtableType,
PredefinedType.propertiesType,
PredefinedType.treeMapTypeabstractCollectionType, abstractListType, abstractMapType, abstractSetType, arrayListType, bigDecimalType, bigIntegerType, bitsetType, booleanClassType, booleanType, byteClassType, byteType, characterClassType, charType, collectionType, dateType, dictionaryType, doubleClassType, doubleType, floatClassType, floatType, hashMapType, hashSetType, hashtableType, integerClassType, intType, linkedListType, listType, localeType, longClassType, longType, mapType, numberType, objectType, propertiesType, setType, shortClassType, shortType, sqlDateType, sqlTimestampType, sqlTimeType, stackType, stringType, treeMapType, treeSetType, vectorType, voidTypeclazz, superclass| Constructor and Description |
|---|
JDOSupportedMapType(java.lang.Class clazz)
Constructor for JDOSupportedMap types having no superclass.
|
JDOSupportedMapType(java.lang.Class clazz,
JavaType superclass)
Constructor for JDOSupportedMap types having a superclass.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJDOSupportedMap()
Returns
true if this JavaType represents a JDO
supported map type. |
boolean |
isTrackable()
Returns
true if this JavaType represents a trackable
Java class. |
getPredefinedType, getPredefinedTypesgetJavaClass, getJavaField, getModifiers, getName, getSuperclass, isCompatibleWith, isInterfaceequals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isIntegral, isJDOSupportedCollection, isOrderable, isPersistenceCapable, isPrimitive, isValue, isWrapperClass, toStringpublic JDOSupportedMapType(java.lang.Class clazz)
clazz - the Class instance representing the typepublic JDOSupportedMapType(java.lang.Class clazz,
JavaType superclass)
clazz - the Class instance representing the typesuperclass - JavaType instance representing the superclass.public boolean isJDOSupportedMap()
true if this JavaType represents a JDO
supported map type. The JDO specification allows the
following map interfaces and classes as types of persistent
fields (see section 6.4.3 Persistent fields):isJDOSupportedMap in interface JavaTypeisJDOSupportedMap in class AbstractJavaTypetrue if this JavaTypre represents a JDO
supported map; false otherwise.public boolean isTrackable()
true if this JavaType represents a trackable
Java class. A JDO implementation may replace a persistent field of
a trackable type with an assignment compatible instance of its own
implementation of this type which notifies the owning FCO of any
change of this field.isTrackable in interface JavaTypeisTrackable in class AbstractJavaTypetrue if this JavaType represents a trackable
Java class, false otherwise.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.