X - The type of the represented basic typepublic class BasicTypeImpl<X> extends TypeImpl<X>
Purpose: Provides the implementation for the Basic interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type BasicType represent basic types (including temporal and enumerated types).
javax.persistence.metamodel.BasicType,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
BasicTypeImpl(java.lang.Class<X> javaClass) |
| Modifier and Type | Method and Description |
|---|---|
PersistenceType |
getPersistenceType()
Return the persistence type.
|
boolean |
isEntity()
INTERNAL:
Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
|
protected boolean |
isIdentifiableType()
INTERNAL:
Return whether this type is identifiable.
|
protected boolean |
isManagedType()
INTERNAL:
Return whether this type is identifiable.
|
boolean |
isMappedSuperclass()
INTERNAL:
Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
|
protected void |
toStringHelper(java.lang.StringBuffer aBuffer)
INTERNAL:
Append the partial string representation of the receiver to the StringBuffer.
|
getJavaType, getJavaType, getJavaTypeName, toStringprotected BasicTypeImpl(java.lang.Class<X> javaClass)
public PersistenceType getPersistenceType()
public boolean isEntity()
protected boolean isIdentifiableType()
isIdentifiableType in class TypeImpl<X>protected boolean isManagedType()
isManagedType in class TypeImpl<X>public boolean isMappedSuperclass()
isMappedSuperclass in class TypeImpl<X>protected void toStringHelper(java.lang.StringBuffer aBuffer)
toStringHelper in class TypeImpl<X>