org.apache.jdo.impl.model.java
Class FloatingPointType

java.lang.Object
  extended byorg.apache.jdo.impl.model.java.AbstractJavaType
      extended byorg.apache.jdo.impl.model.java.BaseReflectionJavaType
          extended byorg.apache.jdo.impl.model.java.PredefinedType
              extended byorg.apache.jdo.impl.model.java.PrimitiveType
                  extended byorg.apache.jdo.impl.model.java.FloatingPointType
All Implemented Interfaces:
JavaElement, 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

Field Summary
 
Fields inherited from class org.apache.jdo.impl.model.java.PrimitiveType
 
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
 
Fields inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
clazz, superclass
 
Constructor Summary
FloatingPointType(java.lang.Class clazz)
          Constructor.
 
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.PrimitiveType
getWrapperClassType, isPrimitive, isValue, setWrapperClassType
 
Methods inherited from class org.apache.jdo.impl.model.java.PredefinedType
getPredefinedType, getPredefinedTypes
 
Methods inherited from class org.apache.jdo.impl.model.java.BaseReflectionJavaType
getDeclaredJavaFields, getDeclaredJavaProperties, getJavaClass, getJavaField, getJavaProperty, getModifiers, getName, getSuperclass, getUnderlyingObject, isCompatibleWith, isInterface
 
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
 

Constructor Detail

FloatingPointType

public FloatingPointType(java.lang.Class clazz)
Constructor.

Method Detail

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.