|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|---|
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<Attribute<? super X,?>> getAttributes()
getAttributes in interface ManagedType<X>public Set<Attribute<X,?>> getDeclaredAttributes()
getDeclaredAttributes in interface ManagedType<X>public Attribute<? super X,?> getAttribute(String name)
getAttribute in interface ManagedType<X>public Attribute<X,?> getDeclaredAttribute(String name)
getDeclaredAttribute in interface ManagedType<X>public Set<SingularAttribute<? super X,?>> getSingularAttributes()
getSingularAttributes in interface ManagedType<X>public Set<SingularAttribute<X,?>> getDeclaredSingularAttributes()
getDeclaredSingularAttributes in interface ManagedType<X>public SingularAttribute<? super X,?> getSingularAttribute(String name)
getSingularAttribute in interface ManagedType<X>public SingularAttribute<X,?> getDeclaredSingularAttribute(String name)
getDeclaredSingularAttribute in interface ManagedType<X>
public <Y> SingularAttribute<? super X,Y> getSingularAttribute(String name,
Class<Y> type)
getSingularAttribute in interface ManagedType<X>
public <Y> SingularAttribute<X,Y> getDeclaredSingularAttribute(String name,
Class<Y> javaType)
getDeclaredSingularAttribute in interface ManagedType<X>
protected <Y> boolean isPrimitiveVariant(SingularAttribute<?,?> attribute,
Class<Y> javaType)
public Set<PluralAttribute<? super X,?,?>> getPluralAttributes()
getPluralAttributes in interface ManagedType<X>public Set<PluralAttribute<X,?,?>> getDeclaredPluralAttributes()
getDeclaredPluralAttributes in interface ManagedType<X>public CollectionAttribute<? super X,?> getCollection(String name)
getCollection in interface ManagedType<X>public CollectionAttribute<X,?> getDeclaredCollection(String name)
getDeclaredCollection in interface ManagedType<X>public SetAttribute<? super X,?> getSet(String name)
getSet in interface ManagedType<X>public SetAttribute<X,?> getDeclaredSet(String name)
getDeclaredSet in interface ManagedType<X>public ListAttribute<? super X,?> getList(String name)
getList in interface ManagedType<X>public ListAttribute<X,?> getDeclaredList(String name)
getDeclaredList in interface ManagedType<X>public MapAttribute<? super X,?,?> getMap(String name)
getMap in interface ManagedType<X>public MapAttribute<X,?,?> getDeclaredMap(String name)
getDeclaredMap in interface ManagedType<X>
public <E> CollectionAttribute<? super X,E> getCollection(String name,
Class<E> elementType)
getCollection in interface ManagedType<X>
public <E> CollectionAttribute<X,E> getDeclaredCollection(String name,
Class<E> elementType)
getDeclaredCollection in interface ManagedType<X>
public <E> SetAttribute<? super X,E> getSet(String name,
Class<E> elementType)
getSet in interface ManagedType<X>
public <E> SetAttribute<X,E> getDeclaredSet(String name,
Class<E> elementType)
getDeclaredSet in interface ManagedType<X>
public <E> ListAttribute<? super X,E> getList(String name,
Class<E> elementType)
getList in interface ManagedType<X>
public <E> ListAttribute<X,E> getDeclaredList(String name,
Class<E> elementType)
getDeclaredList in interface ManagedType<X>
public <K,V> MapAttribute<? super X,K,V> getMap(String name,
Class<K> keyType,
Class<V> valueType)
getMap in interface ManagedType<X>
public <K,V> MapAttribute<X,K,V> getDeclaredMap(String name,
Class<K> keyType,
Class<V> valueType)
getDeclaredMap in interface ManagedType<X>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||