Module org.eclipse.persistence.jpa
Class BasicTypeImpl<X>
java.lang.Object
org.eclipse.persistence.internal.jpa.metamodel.TypeImpl<X>
org.eclipse.persistence.internal.jpa.metamodel.BasicTypeImpl<X>
- Type Parameters:
X
- The type of the represented basic type
- All Implemented Interfaces:
BasicType<X>
,Type<X>
,Serializable
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).
- 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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the persistence type.boolean
isEntity()
INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)protected boolean
INTERNAL: Return whether this type is identifiable.protected boolean
INTERNAL: Return whether this type is identifiable.boolean
INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)protected void
toStringHelper
(StringBuffer aBuffer) INTERNAL: Append the partial string representation of the receiver to the StringBuffer.Methods inherited from class org.eclipse.persistence.internal.jpa.metamodel.TypeImpl
getJavaType, getJavaType, getJavaTypeName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.persistence.metamodel.Type
getJavaType
-
Constructor Details
-
BasicTypeImpl
-
-
Method Details
-
getPersistenceType
Return the persistence type.- Specified by:
getPersistenceType
in interfaceType<X>
- Returns:
- persistence type
-
isEntity
public boolean isEntity()INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false) -
isIdentifiableType
protected boolean isIdentifiableType()INTERNAL: Return whether this type is identifiable. This would be EntityType and MappedSuperclassType- Specified by:
isIdentifiableType
in classTypeImpl<X>
-
isManagedType
protected boolean isManagedType()INTERNAL: Return whether this type is identifiable. This would be EmbeddableType as well as EntityType and MappedSuperclassType- Specified by:
isManagedType
in classTypeImpl<X>
-
isMappedSuperclass
public boolean isMappedSuperclass()INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)- Specified by:
isMappedSuperclass
in classTypeImpl<X>
-
toStringHelper
INTERNAL: Append the partial string representation of the receiver to the StringBuffer.- Specified by:
toStringHelper
in classTypeImpl<X>
-