public class ValueClassType extends PredefinedType
Class PredefinedType provides public static final variables referring to the JavaType representation for value class types.
PredefinedType.numberType,
PredefinedType.stringType,
PredefinedType.localeType,
PredefinedType.bigDecimalType,
PredefinedType.bigIntegerTypeabstractCollectionType, 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 |
|---|
ValueClassType(java.lang.Class clazz,
JavaType superclass,
boolean orderable)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOrderable()
Returns
true if this JavaType represents an orderable
type as specified by JDO. |
boolean |
isValue()
Returns
true if this JavaType represents a type whoses
values may be treated as values rather than refernces during
storing. |
getPredefinedType, getPredefinedTypesgetJavaClass, getJavaField, getModifiers, getName, getSuperclass, isCompatibleWith, isInterfaceequals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isPrimitive, isTrackable, isWrapperClass, toStringpublic ValueClassType(java.lang.Class clazz,
JavaType superclass,
boolean orderable)
clazz - the Class instance representing the typesuperclass - JavaType instance representing the superclass.orderable - flag indicating whether this type is orderable.public boolean isValue()
true if this JavaType represents a type whoses
values may be treated as values rather than refernces during
storing.isValue in interface JavaTypeisValue in class AbstractJavaTypetrue if this JavaType represents a value type;
false otherwise.public boolean isOrderable()
true if this JavaType represents an orderable
type as specified by JDO.isOrderable in interface JavaTypeisOrderable in class AbstractJavaTypetrue if this JavaType represents an orderable
type; false otherwise.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.