X - The represented type.public interface ManagedType<X> extends Type<X>
ManagedType represent entity, mapped 
  superclass, and embeddable types.Type.PersistenceType| Modifier and Type | Method and Description | 
|---|---|
| Attribute<? super X,?> | getAttribute(java.lang.String name)Return the attribute of the managed
  type that corresponds to the specified name. | 
| java.util.Set<Attribute<? super X,?>> | getAttributes()Return the attributes of the managed type. | 
| CollectionAttribute<? super X,?> | getCollection(java.lang.String name)Return the Collection-valued attribute of the managed type 
  that corresponds to the specified name. | 
| <E> CollectionAttribute<? super X,E> | getCollection(java.lang.String name,
             java.lang.Class<E> elementType)Return the Collection-valued attribute of the managed type 
  that corresponds to the specified name and Java element type. | 
| Attribute<X,?> | getDeclaredAttribute(java.lang.String name)Return the attribute declared by the managed
  type that corresponds to the specified name. | 
| java.util.Set<Attribute<X,?>> | getDeclaredAttributes()Return the attributes declared by the managed type. | 
| CollectionAttribute<X,?> | getDeclaredCollection(java.lang.String name)Return the Collection-valued attribute declared by the 
  managed type that corresponds to the specified name. | 
| <E> CollectionAttribute<X,E> | getDeclaredCollection(java.lang.String name,
                     java.lang.Class<E> elementType)Return the Collection-valued attribute declared by the 
  managed type that corresponds to the specified name and Java 
  element type. | 
| ListAttribute<X,?> | getDeclaredList(java.lang.String name)Return the List-valued attribute declared by the managed 
  type that corresponds to the specified name. | 
| <E> ListAttribute<X,E> | getDeclaredList(java.lang.String name,
               java.lang.Class<E> elementType)Return the List-valued attribute declared by the managed 
  type that corresponds to the specified name and Java 
  element type. | 
| MapAttribute<X,?,?> | getDeclaredMap(java.lang.String name)Return the Map-valued attribute declared by the managed 
  type that corresponds to the specified name. | 
| <K,V> MapAttribute<X,K,V> | getDeclaredMap(java.lang.String name,
              java.lang.Class<K> keyType,
              java.lang.Class<V> valueType)Return the Map-valued attribute declared by the managed 
  type that corresponds to the specified name and Java key 
  and value types. | 
| java.util.Set<PluralAttribute<X,?,?>> | getDeclaredPluralAttributes()Return all multi-valued attributes (Collection-, Set-,
  List-, and Map-valued attributes) declared by the 
  managed type. | 
| SetAttribute<X,?> | getDeclaredSet(java.lang.String name)Return the Set-valued attribute declared by the managed type 
  that corresponds to the specified name. | 
| <E> SetAttribute<X,E> | getDeclaredSet(java.lang.String name,
              java.lang.Class<E> elementType)Return the Set-valued attribute declared by the managed type 
  that corresponds to the specified name and Java element type. | 
| SingularAttribute<X,?> | getDeclaredSingularAttribute(java.lang.String name)Return the single-valued attribute declared by the managed
  type that corresponds to the specified name. | 
| <Y> SingularAttribute<X,Y> | getDeclaredSingularAttribute(java.lang.String name,
                            java.lang.Class<Y> type)Return the single-valued attribute declared by the 
  managed type that corresponds to the specified name and 
  Java type. | 
| java.util.Set<SingularAttribute<X,?>> | getDeclaredSingularAttributes()Return the single-valued attributes declared by the managed
  type. | 
| ListAttribute<? super X,?> | getList(java.lang.String name)Return the List-valued attribute of the managed type that
  corresponds to the specified name. | 
| <E> ListAttribute<? super X,E> | getList(java.lang.String name,
       java.lang.Class<E> elementType)Return the List-valued attribute of the managed type that
  corresponds to the specified name and Java element type. | 
| MapAttribute<? super X,?,?> | getMap(java.lang.String name)Return the Map-valued attribute of the managed type that
  corresponds to the specified name. | 
| <K,V> MapAttribute<? super X,K,V> | getMap(java.lang.String name,
      java.lang.Class<K> keyType,
      java.lang.Class<V> valueType)Return the Map-valued attribute of the managed type that
  corresponds to the specified name and Java key and value
  types. | 
| java.util.Set<PluralAttribute<? super X,?,?>> | getPluralAttributes()Return all multi-valued attributes (Collection-, Set-,
  List-, and Map-valued attributes) of the managed type. | 
| SetAttribute<? super X,?> | getSet(java.lang.String name)Return the Set-valued attribute of the managed type that
  corresponds to the specified name. | 
| <E> SetAttribute<? super X,E> | getSet(java.lang.String name,
      java.lang.Class<E> elementType)Return the Set-valued attribute of the managed type that
  corresponds to the specified name and Java element type. | 
| SingularAttribute<? super X,?> | getSingularAttribute(java.lang.String name)Return the single-valued attribute of the managed type that
  corresponds to the specified name. | 
| <Y> SingularAttribute<? super X,Y> | getSingularAttribute(java.lang.String name,
                    java.lang.Class<Y> type)Return the single-valued attribute of the managed 
  type that corresponds to the specified name and Java type. | 
| java.util.Set<SingularAttribute<? super X,?>> | getSingularAttributes()Return the single-valued attributes of the managed type. | 
getJavaType, getPersistenceTypejava.util.Set<Attribute<? super X,?>> getAttributes()
java.util.Set<Attribute<X,?>> getDeclaredAttributes()
<Y> SingularAttribute<? super X,Y> getSingularAttribute(java.lang.String name, java.lang.Class<Y> type)
name - the name of the represented attributetype - the type of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not present in the managed type<Y> SingularAttribute<X,Y> getDeclaredSingularAttribute(java.lang.String name, java.lang.Class<Y> type)
name - the name of the represented attributetype - the type of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not declared in the managed typejava.util.Set<SingularAttribute<? super X,?>> getSingularAttributes()
java.util.Set<SingularAttribute<X,?>> getDeclaredSingularAttributes()
<E> CollectionAttribute<? super X,E> getCollection(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not present in the managed type<E> CollectionAttribute<X,E> getDeclaredCollection(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributeCollectionAttribute of the given name and 
          element typejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not declared in the managed type<E> SetAttribute<? super X,E> getSet(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not present in the managed type<E> SetAttribute<X,E> getDeclaredSet(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not declared in the managed type<E> ListAttribute<? super X,E> getList(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not present in the managed type<E> ListAttribute<X,E> getDeclaredList(java.lang.String name, java.lang.Class<E> elementType)
name - the name of the represented attributeelementType - the element type of the represented 
                      attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not declared in the managed type<K,V> MapAttribute<? super X,K,V> getMap(java.lang.String name, java.lang.Class<K> keyType, java.lang.Class<V> valueType)
name - the name of the represented attributekeyType - the key type of the represented attributevalueType - the value type of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not present in the managed type<K,V> MapAttribute<X,K,V> getDeclaredMap(java.lang.String name, java.lang.Class<K> keyType, java.lang.Class<V> valueType)
name - the name of the represented attributekeyType - the key type of the represented attributevalueType - the value type of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name and type is not declared in the managed typejava.util.Set<PluralAttribute<? super X,?,?>> getPluralAttributes()
java.util.Set<PluralAttribute<X,?,?>> getDeclaredPluralAttributes()
Attribute<? super X,?> getAttribute(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeAttribute<X,?> getDeclaredAttribute(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed typeSingularAttribute<? super X,?> getSingularAttribute(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeSingularAttribute<X,?> getDeclaredSingularAttribute(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed typeCollectionAttribute<? super X,?> getCollection(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeCollectionAttribute<X,?> getDeclaredCollection(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed typeSetAttribute<? super X,?> getSet(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeSetAttribute<X,?> getDeclaredSet(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed typeListAttribute<? super X,?> getList(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeListAttribute<X,?> getDeclaredList(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed typeMapAttribute<? super X,?,?> getMap(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not present in the managed typeMapAttribute<X,?,?> getDeclaredMap(java.lang.String name)
name - the name of the represented attributejava.lang.IllegalArgumentException - if attribute of the given
          name is not declared in the managed type