org.apache.openjpa.persistence.meta
Class Types.Basic<X>

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

public static class Types.Basic<X>
extends Types.BaseType<X>
implements 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 javax.persistence.metamodel.Type
Type.PersistenceType
 
Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.meta.Types.BaseType
cls
 
Constructor Summary
Types.Basic(Class<X> cls)
           
 
Method Summary
 Type.PersistenceType getPersistenceType()
           
 
Methods inherited from class org.apache.openjpa.persistence.meta.Types.BaseType
getJavaType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.persistence.metamodel.Type
getJavaType
 

Constructor Detail

Types.Basic

public Types.Basic(Class<X> cls)
Method Detail

getPersistenceType

public Type.PersistenceType getPersistenceType()
Specified by:
getPersistenceType in interface Type<X>


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.