X - The type of the represented object or attributepublic abstract class TypeImpl<X> extends Object implements jakarta.persistence.metamodel.Type<X>, 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.
Type,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
TypeImpl(Class<X> javaClass) |
protected |
TypeImpl(Class<X> javaClass,
String javaClassName) |
| Modifier and Type | Method and Description |
|---|---|
Class<X> |
getJavaType()
Return the represented Java type.
|
Class<X> |
getJavaType(ClassLoader classLoader)
Return the represented Java type.
|
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)
|
String |
toString()
INTERNAL:
Return the string representation of the receiver.
|
protected abstract void |
toStringHelper(StringBuffer aBuffer)
INTERNAL:
Append the partial string representation of the receiver to the StringBuffer.
|
public Class<X> getJavaType(ClassLoader classLoader)
public Class<X> getJavaType()
getJavaType in interface jakarta.persistence.metamodel.Type<X>public String getJavaTypeName()
public abstract boolean isEntity()
protected abstract boolean isIdentifiableType()
protected abstract boolean isManagedType()
public abstract boolean isMappedSuperclass()
public String toString()
protected abstract void toStringHelper(StringBuffer aBuffer)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.