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

java.lang.Object
  extended by org.apache.openjpa.persistence.meta.AbstractManagedType<X>
      extended by org.apache.openjpa.persistence.meta.Types.PseudoEntity<X>
All Implemented Interfaces:
ManagedType<X>, Type<X>
Enclosing class:
Types

public static class Types.PseudoEntity<X>
extends AbstractManagedType<X>

A pseudo managed type used to represent keys of a java.util.Map as a pseudo attribute.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType
AbstractManagedType.AttributeNameFilter<X>, AbstractManagedType.AttributeTypeFilter<X,Y>, AbstractManagedType.DeclaredAttributeFilter<X>, AbstractManagedType.ElementTypeFilter<X,E>, AbstractManagedType.EntryTypeFilter<X,K,V>, AbstractManagedType.Filter<T>, AbstractManagedType.IdAttributeFilter<X>, AbstractManagedType.PluralCategoryFilter<X>, AbstractManagedType.SingularAttributeFilter<X>, AbstractManagedType.VersionAttributeFilter<X>
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type
Type.PersistenceType
 
Field Summary
 Class<X> cls
           
 
Fields inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType
meta, model
 
Constructor Summary
protected Types.PseudoEntity(Class<X> cls, MetamodelImpl model)
           
 
Method Summary
 Class<X> getJavaType()
           
 Type.PersistenceType getPersistenceType()
           
 String toString()
           
 
Methods inherited from class org.apache.openjpa.persistence.meta.AbstractManagedType
filter, getAttribute, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredId, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDeclaredVersion, getId, getIdClassAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getVersion, pick
 
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.PseudoEntity

protected Types.PseudoEntity(Class<X> cls,
                             MetamodelImpl model)
Method Detail

getPersistenceType

public Type.PersistenceType getPersistenceType()

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.