FileDocCategorySizeDatePackage
TypeHelper.javaAPI DocGlassfish v2 API6827Tue May 22 16:54:40 BST 2007oracle.toplink.essentials.internal.parsing

TypeHelper

public interface TypeHelper
INTERNAL

Purpose: Specify type helper methods.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectextendedBinaryNumericPromotion(java.lang.Object left, java.lang.Object right)
Binary numeric promotion as specified in the JLS, extended by wrapper classes, BigDecimal and BigInteger.

public java.lang.ObjectgetBigDecimalType()
Returns the type representation of class BigDecimal.

public java.lang.ObjectgetBigIntegerType()
Returns the type representation of class BigInteger.

public java.lang.ObjectgetBooleanType()
Returns the boolean type representation.

public java.lang.ObjectgetCharType()
Returns the char type representation.

public java.lang.ObjectgetDoubleClassType()
Returns the type representation of class Double.

public java.lang.ObjectgetDoubleType()
Returns the double type representation.

public java.lang.ObjectgetFloatType()
Returns the float type representation.

public java.lang.ObjectgetIntType()
Returns the int type representation.

public java.lang.ClassgetJavaClass(java.lang.Object type)
Returns the class object of the specified type.

public java.lang.ObjectgetLongClassType()
Returns the type representation of class Long.

public java.lang.ObjectgetLongType()
Returns the long type representation.

public java.lang.ObjectgetObjectType()
Returns the type representation of class Object.

public java.lang.ObjectgetStringType()
Returns the type representation oc class String.

public java.lang.StringgetTypeName(java.lang.Object type)
Returns the name of the specified type.

public booleanisAssignableFrom(java.lang.Object left, java.lang.Object right)
Returns true if left is assignable from right.

public booleanisBigDecimalType(java.lang.Object type)
Returns true if the specified type represents java.math.BigDecimal.

public booleanisBigIntegerType(java.lang.Object type)
Returns true if the specified type represents java.math.BigInteger.

public booleanisCollectionValuedRelationship(java.lang.Object ownerClass, java.lang.String attribute)
Returns true if the specified attribute denotes a collection valued relationship attribute.

public booleanisEmbeddable(java.lang.Object type)
Returns true if the specified type denotes an embedded class.

public booleanisEmbeddedAttribute(java.lang.Object ownerClass, java.lang.String attribute)
Returns true if the specified type denotes an embedded attribute.

public booleanisEntityClass(java.lang.Object type)
Returns true if the specified type denotes an entity class.

public booleanisEnumType(java.lang.Object type)
Returns true if the specified type denotes an enum type.

public booleanisFloatingPointType(java.lang.Object type)
Returns true if the specified type represents an floating point type or a wrapper class of an floating point type.

public booleanisIntegralType(java.lang.Object type)
Returns true if the specified type represents an integral type or a wrapper class of an integral type.

public booleanisNumericType(java.lang.Object type)
Returns true if the specified type represents an integral type (or wrapper), a floating point type (or wrapper), BigInteger or BigDecimal.

public booleanisOrderableType(java.lang.Object type)
Returns true if the specified type denotes an orable type.

public booleanisRelationship(java.lang.Object ownerClass, java.lang.String attribute)
Returns true if the specified attribute denotes a single valued or collection valued relationship attribute.

public booleanisSimpleStateAttribute(java.lang.Object ownerClass, java.lang.String attribute)
Returns true if the specified type denotes a simple state attribute.

public booleanisSingleValuedRelationship(java.lang.Object ownerClass, java.lang.String attribute)
Returns true if the specified attribute denotes a single valued relationship attribute.

public booleanisStringType(java.lang.Object type)
Returns true if the specified type represents java.lang.String.

public java.lang.ObjectresolveAttribute(java.lang.Object ownerClass, java.lang.String attribute)
Returns the type of the attribute with the specified name in the specified owner class.

public java.lang.ObjectresolveEnumConstant(java.lang.Object enumType, java.lang.String constant)
Returns the enum constant if the specified type denotes an enum type and the specified constant denotes a constant of the enum type.

public java.lang.ObjectresolveSchema(java.lang.String schemaName)
Returns the type of the class corresponding to the spcified abstract schema type.

public java.lang.ObjectresolveTypeName(java.lang.String typeName)
Returns a type representation for the specified type name or null if there is no such type.