javax.persistence.metamodel
Interface MapAttribute<X,K,V>
- Type Parameters:
X
- The type the represented Map belongs toK
- The type of the key of the represented MapV
- The type of the value of the represented Map
- All Superinterfaces:
- Attribute<X,java.util.Map<K,V>>, Bindable<V>, PluralAttribute<X,java.util.Map<K,V>,V>
public interface MapAttribute<X,K,V>
- extends PluralAttribute<X,java.util.Map<K,V>,V>
Instances of the type MapAttribute
represent
persistent java.util.Map
-valued attributes.
- Since:
- Java Persistence 2.0
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. |
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
Submit a bug or feature Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41