org.datanucleus.jpa.metamodel
Class TypeImpl<X>

java.lang.Object
  extended by org.datanucleus.jpa.metamodel.TypeImpl<X>
All Implemented Interfaces:
javax.persistence.metamodel.Type<X>
Direct Known Subclasses:
ManagedTypeImpl

public class TypeImpl<X>
extends java.lang.Object
implements javax.persistence.metamodel.Type<X>

Implementation of JPA2 Metamodel "Type".


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type
javax.persistence.metamodel.Type.PersistenceType
 
Field Summary
 java.lang.Class<X> cls
           
 
Constructor Summary
protected TypeImpl(java.lang.Class<X> cls)
           
 
Method Summary
 java.lang.Class<X> getJavaType()
           
 javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cls

public final java.lang.Class<X> cls
Constructor Detail

TypeImpl

protected TypeImpl(java.lang.Class<X> cls)
Method Detail

getJavaType

public java.lang.Class<X> getJavaType()
Specified by:
getJavaType in interface javax.persistence.metamodel.Type<X>

getPersistenceType

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.