org.apache.jdo.impl.model.java
Class IntegralType
java.lang.Object
org.apache.jdo.impl.model.java.AbstractJavaType
org.apache.jdo.impl.model.java.BaseReflectionJavaType
org.apache.jdo.impl.model.java.PredefinedType
org.apache.jdo.impl.model.java.PrimitiveType
org.apache.jdo.impl.model.java.IntegralType
- All Implemented Interfaces:
- JavaType
public class IntegralType
- extends PrimitiveType
A IntegralType instance represents an integral type as defined in the
Java language. There are five are integral types: byte,
short, int, long, and
char.
Class PredefinedType provides public static final variables referring
to the JavaType representation for integral types.
- Since:
- JDO 1.0.1
- Author:
- Michael Bouschen
- See Also:
PredefinedType.byteType,
PredefinedType.shortType,
PredefinedType.intType,
PredefinedType.longType,
PredefinedType.charType
| Fields inherited from class org.apache.jdo.impl.model.java.PredefinedType |
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 |
|
Constructor Summary |
IntegralType(java.lang.Class clazz)
Constructor. |
|
Method Summary |
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. |
| Methods inherited from class org.apache.jdo.impl.model.java.AbstractJavaType |
equals, getArrayComponentType, getJDOClass, hashCode, isArray, isFloatingPoint, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isTrackable, isWrapperClass, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IntegralType
public IntegralType(java.lang.Class clazz)
- Constructor.
isIntegral
public boolean isIntegral()
- Returns
true if this JavaType represents an integral
type.
- Specified by:
isIntegral in interface JavaType- Overrides:
isIntegral in class AbstractJavaType
- Returns:
true if this JavaTypre represents an integral
type; false otherwise.
isOrderable
public boolean isOrderable()
- Returns
true if this JavaType represents an orderable
type as specified by JDO.
- Specified by:
isOrderable in interface JavaType- Overrides:
isOrderable in class AbstractJavaType
- Returns:
true if this JavaType represents an orderable
type; false otherwise.
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.