EclipseLink 2.0.0_ 2.0.0.v20090520-r4260 API Reference

javax.persistence.metamodel
Interface Map<X,K,V>

Type Parameters:
X - The type the represented Map belongs to
K - The type of the key of the represented Map
V - The type of the value of the represented Map
All Superinterfaces:
AbstractCollection<X,java.util.Map<K,V>,V>, Bindable<V>, Member<X,java.util.Map<K,V>>

public interface Map<X,K,V>
extends AbstractCollection<X,java.util.Map<K,V>,V>

Instances of the type Map represent persistent Map-valued attributes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.AbstractCollection
AbstractCollection.CollectionType, AbstractCollection.Multiplicity
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Bindable
Bindable.BindableType
 
Method Summary
 java.lang.Class<K> getKeyJavaType()
          Return the Java type of the map key.
 Type<K> getKeyType()
          Return the type representing the key type of the map.
 
Methods inherited from interface javax.persistence.metamodel.AbstractCollection
getCollectionType, getElementType, getMultiplicity
 
Methods inherited from interface javax.persistence.metamodel.Member
getDeclaringType, getJavaMember, getMemberJavaType, getName, isAssociation, isCollection
 
Methods inherited from interface javax.persistence.metamodel.Bindable
getBindableType, getJavaType
 

Method Detail

getKeyJavaType

java.lang.Class<K> getKeyJavaType()
Return the Java type of the map key.

Returns:
Java key type

getKeyType

Type<K> getKeyType()
Return the type representing the key type of the map.

Returns:
type representing key type

EclipseLink 2.0.0_ 2.0.0.v20090520-r4260 API Reference