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

java.lang.Object
  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 Object
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
 Class<X> cls
           
 
Constructor Summary
Types.Basic(Class<X> cls)
           
 
Method Summary
 Class<X> getJavaType()
           
 Type.PersistenceType getPersistenceType()
           
 String 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
 

Field Detail

cls

public final Class<X> cls
Constructor Detail

Types.Basic

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

getPersistenceType

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

getJavaType

public final Class<X> getJavaType()
Specified by:
getJavaType in interface Type<X>

toString

public String toString()
Overrides:
toString in class Object


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