Class Members.KeyAttributeImpl<X,K>
java.lang.Object
org.apache.openjpa.persistence.meta.Members.Member<X,Set<K>>
org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl<X,Set<K>,K>
org.apache.openjpa.persistence.meta.Members.SetAttributeImpl<X,K>
org.apache.openjpa.persistence.meta.Members.KeyAttributeImpl<X,K>
- Type Parameters:
X- the declaring type of the original java.util.Map<K,V> attributeK- the type of the key of the original java.util.Map<K,V> attribute
- All Implemented Interfaces:
Attribute<X,Set<K>>, Bindable<K>, PluralAttribute<X, Set<K>, K>, SetAttribute<X, K>, Comparable<Members.Member<X, Set<K>>>
- Enclosing class:
Members
Represents the keys of java.util.Map<K,V> in managed type <X> as a pseudo-attribute of type
java.util.Set<K>.
- Since:
- 2.0.0
- Author:
- Pinaki Poddar
-
Nested Class Summary
Nested classes/interfaces inherited from interface Attribute
Attribute.PersistentAttributeTypeNested classes/interfaces inherited from interface Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface PluralAttribute
PluralAttribute.CollectionType -
Field Summary
Fields inherited from class Members.Member
fmd, owner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bindable Java type of this attribute.Methods inherited from class Members.SetAttributeImpl
getCollectionTypeMethods inherited from class Members.PluralAttributeImpl
getBindableType, getElementType, getPersistentAttributeTypeMethods inherited from class Members.Member
compareTo, getDeclaringType, getJavaMember, getJavaType, getName, getType, isAssociation, isCollection, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Attribute
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollectionMethods inherited from interface Bindable
getBindableTypeMethods inherited from interface PluralAttribute
getElementType
-
Constructor Details
-
KeyAttributeImpl
-
-
Method Details
-
getBindableJavaType
Description copied from class:Members.PluralAttributeImplReturns the bindable Java type of this attribute. For PLURAL_ATTRIBUTE, the Java element type is returned.- Specified by:
getBindableJavaTypein interfaceBindable<X>- Overrides:
getBindableJavaTypein classMembers.PluralAttributeImpl<X,Set<K>, K>
-