Module org.eclipse.persistence.jpa
Class TypeImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.metamodel.TypeImpl<X>
- Type Parameters:
X- The type of the represented object or attribute
- All Implemented Interfaces:
Type<X>,Serializable
- Direct Known Subclasses:
BasicTypeImpl,ManagedTypeImpl
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.
- Since:
- EclipseLink 1.2 - JPA 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the represented Java type.getJavaType(ClassLoader classLoader) Return the represented Java type.Return the name of the java typeabstract booleanisEntity()INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)protected abstract booleanINTERNAL: Return whether this type is identifiable.protected abstract booleanINTERNAL: Return whether this type is identifiable.abstract booleanINTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)toString()INTERNAL: Return the string representation of the receiver.protected abstract voidtoStringHelper(StringBuffer aBuffer) INTERNAL: Append the partial string representation of the receiver to the StringBuffer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Type
getPersistenceType
-
Constructor Details
-
TypeImpl
-
TypeImpl
-
-
Method Details
-
getJavaType
Return the represented Java type.- Returns:
- Java type
-
getJavaType
Return the represented Java type.- Specified by:
getJavaTypein interfaceType<X>- Returns:
- Java type
-
getJavaTypeName
Return the name of the java type -
isEntity
public abstract boolean isEntity()INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false) -
isIdentifiableType
protected abstract boolean isIdentifiableType()INTERNAL: Return whether this type is identifiable. This would be EntityType and MappedSuperclassType -
isManagedType
protected abstract boolean isManagedType()INTERNAL: Return whether this type is identifiable. This would be EmbeddableType as well as EntityType and MappedSuperclassType -
isMappedSuperclass
public abstract boolean isMappedSuperclass()INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false) -
toString
INTERNAL: Return the string representation of the receiver. -
toStringHelper
INTERNAL: Append the partial string representation of the receiver to the StringBuffer.
-