X - The type of the represented object or attributepublic abstract class TypeImpl<X>
extends java.lang.Object
implements java.io.Serializable
Purpose: Provides the implementation for the Type interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type Type represent persistent object or attribute types.
javax.persistence.metamodel.Type,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
TypeImpl(java.lang.Class<X> javaClass) |
protected |
TypeImpl(java.lang.Class<X> javaClass,
java.lang.String javaClassName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<X> |
getJavaType()
Return the represented Java type.
|
java.lang.Class<X> |
getJavaType(java.lang.ClassLoader classLoader)
Return the represented Java type.
|
java.lang.String |
getJavaTypeName()
Return the name of the java type
|
abstract boolean |
isEntity()
INTERNAL:
Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
|
protected abstract boolean |
isIdentifiableType()
INTERNAL:
Return whether this type is identifiable.
|
protected abstract boolean |
isManagedType()
INTERNAL:
Return whether this type is identifiable.
|
abstract boolean |
isMappedSuperclass()
INTERNAL:
Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
|
java.lang.String |
toString()
INTERNAL:
Return the string representation of the receiver.
|
protected abstract void |
toStringHelper(java.lang.StringBuffer aBuffer)
INTERNAL:
Append the partial string representation of the receiver to the StringBuffer.
|
protected TypeImpl(java.lang.Class<X> javaClass)
protected TypeImpl(java.lang.Class<X> javaClass, java.lang.String javaClassName)
public java.lang.Class<X> getJavaType(java.lang.ClassLoader classLoader)
public java.lang.Class<X> getJavaType()
public java.lang.String getJavaTypeName()
public abstract boolean isEntity()
protected abstract boolean isIdentifiableType()
protected abstract boolean isManagedType()
public abstract boolean isMappedSuperclass()
public java.lang.String toString()
toString in class java.lang.Objectprotected abstract void toStringHelper(java.lang.StringBuffer aBuffer)