X - The represented type.public abstract class ManagedTypeImpl<X> extends TypeImpl<X> implements ManagedType<X>
ManagedType.Type.PersistenceType| Constructor and Description |
|---|
ManagedTypeImpl(MetamodelImpl metamodel,
Class<X> clazz,
ManagedTypeMetadata metadata) |
getJavaType, getMetamodelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaType, getPersistenceTypepublic ManagedTypeImpl(MetamodelImpl metamodel, Class<X> clazz, ManagedTypeMetadata metadata)
metamodel - the meta modelclazz - the class of the represented typemetadata - the metadataprotected void addAttribute(AttributeImpl<? super X,?> attribute)
attribute - the declared attributeprotected void addAttributes(ManagedTypeMetadata typeMetadata)
typeMetadata - the metadatapublic AttributeImpl<? super X,?> getAttribute(String name)
getAttribute in interface ManagedType<X>public Set<Attribute<? super X,?>> getAttributes()
getAttributes in interface ManagedType<X>public CollectionAttributeImpl<? super X,?> getCollection(String name)
getCollection in interface ManagedType<X>public <E> CollectionAttributeImpl<? super X,E> getCollection(String name, Class<E> elementType)
getCollection in interface ManagedType<X>public AttributeImpl<X,?> getDeclaredAttribute(String name)
getDeclaredAttribute in interface ManagedType<X>public Set<Attribute<X,?>> getDeclaredAttributes()
getDeclaredAttributes in interface ManagedType<X>public CollectionAttributeImpl<X,?> getDeclaredCollection(String name)
getDeclaredCollection in interface ManagedType<X>public <E> CollectionAttributeImpl<X,E> getDeclaredCollection(String name, Class<E> elementType)
getDeclaredCollection in interface ManagedType<X>public ListAttributeImpl<X,?> getDeclaredList(String name)
getDeclaredList in interface ManagedType<X>public <E> ListAttributeImpl<X,E> getDeclaredList(String name, Class<E> elementType)
getDeclaredList in interface ManagedType<X>public MapAttribute<X,?,?> getDeclaredMap(String name)
getDeclaredMap 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>public Set<PluralAttribute<X,?,?>> getDeclaredPluralAttributes()
getDeclaredPluralAttributes in interface ManagedType<X>public SetAttributeImpl<X,?> getDeclaredSet(String name)
getDeclaredSet in interface ManagedType<X>public <E> SetAttributeImpl<X,E> getDeclaredSet(String name, Class<E> elementType)
getDeclaredSet in interface ManagedType<X>public SingularAttributeImpl<X,?> getDeclaredSingularAttribute(String name)
getDeclaredSingularAttribute in interface ManagedType<X>public <Y> SingularAttributeImpl<X,Y> getDeclaredSingularAttribute(String name, Class<Y> type)
getDeclaredSingularAttribute in interface ManagedType<X>public Set<SingularAttribute<X,?>> getDeclaredSingularAttributes()
getDeclaredSingularAttributes in interface ManagedType<X>public ListAttributeImpl<? super X,?> getList(String name)
getList in interface ManagedType<X>public <E> ListAttributeImpl<? super X,E> getList(String name, Class<E> elementType)
getList in interface ManagedType<X>public AbstractLocator getLocator()
public MapAttribute<? super X,?,?> getMap(String name)
getMap 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 String getName()
public Set<PluralAttribute<? super X,?,?>> getPluralAttributes()
getPluralAttributes in interface ManagedType<X>public SetAttributeImpl<? super X,?> getSet(String name)
getSet in interface ManagedType<X>public <E> SetAttributeImpl<? super X,E> getSet(String name, Class<E> elementType)
getSet in interface ManagedType<X>public SingularAttributeImpl<? super X,?> getSingularAttribute(String name)
getSingularAttribute in interface ManagedType<X>public <Y> SingularAttributeImpl<? super X,Y> getSingularAttribute(String name, Class<Y> type)
getSingularAttribute in interface ManagedType<X>public Set<SingularAttribute<? super X,?>> getSingularAttributes()
getSingularAttributes in interface ManagedType<X>Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.