org.apache.jdo.impl.model.java
Class FloatingPointType
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.FloatingPointType
- All Implemented Interfaces:
- JavaType
public class FloatingPointType
- extends PrimitiveType
A FloatingPointType instance represents a floating point type as defined
in the Java language. There are two floating point types:
float
and double
.
Class PredefinedType provides public static final variables referring
to the JavaType representation for floating point types.
- Since:
- JDO 1.0.1
- Author:
- Michael Bouschen
- See Also:
PredefinedType.floatType
,
PredefinedType.doubleType
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 |
Method Summary |
boolean |
isFloatingPoint()
Returns true if this JavaType represents a floating
point 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, isIntegral, isJDOSupportedCollection, isJDOSupportedMap, isPersistenceCapable, isTrackable, isWrapperClass, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FloatingPointType
public FloatingPointType(java.lang.Class clazz)
- Constructor.
isFloatingPoint
public boolean isFloatingPoint()
- Returns
true
if this JavaType represents a floating
point type.
- Specified by:
isFloatingPoint
in interface JavaType
- Overrides:
isFloatingPoint
in class AbstractJavaType
- Returns:
true
if this JavaType represents a floating
point 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.