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.bigIntegerType
abstractCollectionType, 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, voidType
clazz, 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, getPredefinedTypes
getDeclaredJavaFields, getDeclaredJavaProperties, getJavaClass, getJavaField, getJavaProperty, getModifiers, getName, getSuperclass, getUnderlyingObject, isCompatibleWith, isInterface
equals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isPrimitive, isTrackable, isWrapperClass, toString
public 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 JavaType
isValue
in class AbstractJavaType
true
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 JavaType
isOrderable
in class AbstractJavaType
true
if this JavaType represents an orderable
type; false
otherwise.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.