public class IntegralType extends PrimitiveType
byte,
short, int, long, and
char.
Class PredefinedType provides public static final variables referring to the JavaType representation for integral types.
PredefinedType.byteType,
PredefinedType.shortType,
PredefinedType.intType,
PredefinedType.longType,
PredefinedType.charTypeabstractCollectionType, 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 |
|---|
IntegralType(java.lang.Class clazz)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIntegral()
Returns
true if this JavaType represents an integral
type. |
boolean |
isOrderable()
Returns
true if this JavaType represents an orderable
type as specified by JDO. |
getWrapperClassType, isPrimitive, isValuegetPredefinedType, getPredefinedTypesgetJavaClass, getJavaField, getModifiers, getName, getSuperclass, isCompatibleWith, isInterfaceequals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isTrackable, isWrapperClass, toStringpublic boolean isIntegral()
true if this JavaType represents an integral
type.isIntegral in interface JavaTypeisIntegral in class AbstractJavaTypetrue if this JavaTypre represents an integral
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.