|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.metamodel.AbstractType<X> org.hibernate.ejb.metamodel.AbstractManagedType<X>
public abstract class AbstractManagedType<X>
Defines commonality for the JPA ManagedType
hierarchy of interfaces.
Nested Class Summary | |
---|---|
static interface |
AbstractManagedType.Builder<X>
|
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Type |
---|
javax.persistence.metamodel.Type.PersistenceType |
Constructor Summary | |
---|---|
protected |
AbstractManagedType(Class<X> javaType,
AbstractManagedType<? super X> superType)
|
Methods inherited from class org.hibernate.ejb.metamodel.AbstractType |
---|
getJavaType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.persistence.metamodel.Type |
---|
getJavaType, getPersistenceType |
Constructor Detail |
---|
protected AbstractManagedType(Class<X> javaType, AbstractManagedType<? super X> superType)
Method Detail |
---|
protected AbstractManagedType<? super X> getSupertype()
public AbstractManagedType.Builder<X> getBuilder()
public void lock()
public Set<javax.persistence.metamodel.Attribute<? super X,?>> getAttributes()
getAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public Set<javax.persistence.metamodel.Attribute<X,?>> getDeclaredAttributes()
getDeclaredAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.Attribute<? super X,?> getAttribute(String name)
getAttribute
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.Attribute<X,?> getDeclaredAttribute(String name)
getDeclaredAttribute
in interface javax.persistence.metamodel.ManagedType<X>
public Set<javax.persistence.metamodel.SingularAttribute<? super X,?>> getSingularAttributes()
getSingularAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public Set<javax.persistence.metamodel.SingularAttribute<X,?>> getDeclaredSingularAttributes()
getDeclaredSingularAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.SingularAttribute<? super X,?> getSingularAttribute(String name)
getSingularAttribute
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.SingularAttribute<X,?> getDeclaredSingularAttribute(String name)
getDeclaredSingularAttribute
in interface javax.persistence.metamodel.ManagedType<X>
public <Y> javax.persistence.metamodel.SingularAttribute<? super X,Y> getSingularAttribute(String name, Class<Y> type)
getSingularAttribute
in interface javax.persistence.metamodel.ManagedType<X>
public <Y> javax.persistence.metamodel.SingularAttribute<X,Y> getDeclaredSingularAttribute(String name, Class<Y> javaType)
getDeclaredSingularAttribute
in interface javax.persistence.metamodel.ManagedType<X>
protected <Y> boolean isPrimitiveVariant(javax.persistence.metamodel.SingularAttribute<?,?> attribute, Class<Y> javaType)
public Set<javax.persistence.metamodel.PluralAttribute<? super X,?,?>> getPluralAttributes()
getPluralAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public Set<javax.persistence.metamodel.PluralAttribute<X,?,?>> getDeclaredPluralAttributes()
getDeclaredPluralAttributes
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.CollectionAttribute<? super X,?> getCollection(String name)
getCollection
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.CollectionAttribute<X,?> getDeclaredCollection(String name)
getDeclaredCollection
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.SetAttribute<? super X,?> getSet(String name)
getSet
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.SetAttribute<X,?> getDeclaredSet(String name)
getDeclaredSet
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.ListAttribute<? super X,?> getList(String name)
getList
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.ListAttribute<X,?> getDeclaredList(String name)
getDeclaredList
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.MapAttribute<? super X,?,?> getMap(String name)
getMap
in interface javax.persistence.metamodel.ManagedType<X>
public javax.persistence.metamodel.MapAttribute<X,?,?> getDeclaredMap(String name)
getDeclaredMap
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.CollectionAttribute<? super X,E> getCollection(String name, Class<E> elementType)
getCollection
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.CollectionAttribute<X,E> getDeclaredCollection(String name, Class<E> elementType)
getDeclaredCollection
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.SetAttribute<? super X,E> getSet(String name, Class<E> elementType)
getSet
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.SetAttribute<X,E> getDeclaredSet(String name, Class<E> elementType)
getDeclaredSet
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.ListAttribute<? super X,E> getList(String name, Class<E> elementType)
getList
in interface javax.persistence.metamodel.ManagedType<X>
public <E> javax.persistence.metamodel.ListAttribute<X,E> getDeclaredList(String name, Class<E> elementType)
getDeclaredList
in interface javax.persistence.metamodel.ManagedType<X>
public <K,V> javax.persistence.metamodel.MapAttribute<? super X,K,V> getMap(String name, Class<K> keyType, Class<V> valueType)
getMap
in interface javax.persistence.metamodel.ManagedType<X>
public <K,V> javax.persistence.metamodel.MapAttribute<X,K,V> getDeclaredMap(String name, Class<K> keyType, Class<V> valueType)
getDeclaredMap
in interface javax.persistence.metamodel.ManagedType<X>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |