Top Fields Constructors Methods
org.hibernate.metamodel.model.domain.internal

pack-priv Class MapAttributeImpl<X, K, V>

extends AbstractPluralAttribute<X, Map<K, V>, V>
implements MapPersistentAttribute<X, K, V>
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.model.domain.spi.MapPersistentAttribute, org.hibernate.metamodel.model.domain.spi.PluralPersistentAttribute, org.hibernate.metamodel.model.domain.spi.PersistentAttributeDescriptor, org.hibernate.metamodel.model.domain.PersistentAttribute, javax.persistence.metamodel.Attribute, javax.persistence.metamodel.PluralAttribute, javax.persistence.metamodel.Bindable, javax.persistence.metamodel.MapAttribute
Imports
java.util.Map, org.hibernate.metamodel.model.domain.spi.MapPersistentAttribute, .SimpleTypeDescriptor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SimpleTypeDescriptor<K>

Constructor Summary

AccessConstructor and Description
pack-priv
MapAttributeImpl(PluralAttributeBuilder<X, Map<K, V>, V, K> xceBuilder)

Method Summary

Modifier and TypeMethod and Description
public PluralAttribute.CollectionType
public SimpleTypeDescriptor<K>
public Class<K>
getKeyJavaType()

Implements javax.persistence.metamodel.MapAttribute.getKeyJavaType.

Return the Java type of the map key.
public SimpleTypeDescriptor<K>
getKeyType()

Implements org.hibernate.metamodel.model.domain.spi.MapPersistentAttribute.getKeyType.

Return the type representing the key type of the map.
Inherited from org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute:
creategetBindableJavaTypegetBindableTypegetElementTypegetJavaTypegetValueGraphTypeisAssociationisCollection

Field Detail

keyTypeback to summary
private final SimpleTypeDescriptor<K> keyType

Constructor Detail

MapAttributeImplback to summary
pack-priv MapAttributeImpl(PluralAttributeBuilder<X, Map<K, V>, V, K> xceBuilder)

Method Detail

getCollectionTypeback to summary
public PluralAttribute.CollectionType getCollectionType()

Implements javax.persistence.metamodel.PluralAttribute.getCollectionType.

Doc from javax.persistence.metamodel.PluralAttribute.getCollectionType.

Return the collection type.

Returns:PluralAttribute.CollectionType

collection type

Annotations
@Override
getKeyGraphTypeback to summary
public SimpleTypeDescriptor<K> getKeyGraphType()

Overrides org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute.getKeyGraphType.

Implements org.hibernate.metamodel.model.domain.spi.PersistentAttributeDescriptor.getKeyGraphType.

Annotations
@Override
getKeyJavaTypeback to summary
public Class<K> getKeyJavaType()

Implements javax.persistence.metamodel.MapAttribute.getKeyJavaType.

Doc from javax.persistence.metamodel.MapAttribute.getKeyJavaType.

Return the Java type of the map key.

Returns:Class<K>

Java key type

Annotations
@Override
getKeyTypeback to summary
public SimpleTypeDescriptor<K> getKeyType()

Implements org.hibernate.metamodel.model.domain.spi.MapPersistentAttribute.getKeyType.

Doc from javax.persistence.metamodel.MapAttribute.getKeyType.

Return the type representing the key type of the map.

Returns:SimpleTypeDescriptor<K>

type representing key type

Annotations
@Override