Class Types.Basic<X>

java.lang.Object
org.apache.openjpa.persistence.meta.Types.Basic<X>
Type Parameters:
X - represented Java type.
All Implemented Interfaces:
jakarta.persistence.metamodel.Type<X>
Enclosing class:
Types

public static class Types.Basic<X> extends Object implements jakarta.persistence.metamodel.Type<X>
Basic non-relational types of a persistent attribute such as long or java.util.Date.
Author:
Pinaki Poddar
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type

    jakarta.persistence.metamodel.Type.PersistenceType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final Class<X>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Basic(Class<X> cls)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Class<X>
     
    jakarta.persistence.metamodel.Type.PersistenceType
     
     

    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
  • Field Details

    • cls

      public final Class<X> cls
  • Constructor Details

    • Basic

      public Basic(Class<X> cls)
  • Method Details

    • getPersistenceType

      public jakarta.persistence.metamodel.Type.PersistenceType getPersistenceType()
      Specified by:
      getPersistenceType in interface jakarta.persistence.metamodel.Type<X>
    • getJavaType

      public final Class<X> getJavaType()
      Specified by:
      getJavaType in interface jakarta.persistence.metamodel.Type<X>
    • toString

      public String toString()
      Overrides:
      toString in class Object