public abstract class AbstractManagedType<X> extends AbstractType<X> implements ManagedType<X>, Serializable
ManagedType
hierarchy of interfaces.Modifier and Type | Class and Description |
---|---|
static interface |
AbstractManagedType.Builder<X> |
Type.PersistenceType
Modifier | Constructor and Description |
---|---|
protected |
AbstractManagedType(Class<X> javaType,
String typeName,
AbstractManagedType<? super X> superType) |
getJavaType, getTypeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaType, getPersistenceType
protected AbstractManagedType(Class<X> javaType, String typeName, AbstractManagedType<? super X> superType)
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>
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.