Class Members.KeyAttributeImpl<X,K>
- java.lang.Object
 - 
- org.apache.openjpa.persistence.meta.Members.Member<X,C>
 - 
- org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl<X,Set<E>,E>
 - 
- 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:
 jakarta.persistence.metamodel.Attribute<X,Set<K>>,jakarta.persistence.metamodel.Bindable<K>,jakarta.persistence.metamodel.PluralAttribute<X,Set<K>,K>,jakarta.persistence.metamodel.SetAttribute<X,K>,Comparable<Members.Member<X,Set<K>>>
- Enclosing class:
 - Members
 
public static class Members.KeyAttributeImpl<X,K> extends Members.SetAttributeImpl<X,K>
Represents the keys of java.util.Map<K,V> in managed type <X> as a pseudo-attribute of type java.util.Set<K>. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
jakarta.persistence.metamodel.Attribute.PersistentAttributeType 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.apache.openjpa.persistence.meta.Members.Member
fmd, owner 
 - 
 
- 
Constructor Summary
Constructors Constructor Description KeyAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<K>getBindableJavaType()Returns the bindable Java type of this attribute.- 
Methods inherited from class org.apache.openjpa.persistence.meta.Members.SetAttributeImpl
getCollectionType 
- 
Methods inherited from class org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl
getBindableType, getElementType, getPersistentAttributeType 
- 
Methods inherited from class org.apache.openjpa.persistence.meta.Members.Member
compareTo, getDeclaringType, getJavaMember, getJavaType, getName, getType, isAssociation, isCollection, toString 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
KeyAttributeImpl
public KeyAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
 
 - 
 
- 
Method Detail
- 
getBindableJavaType
public Class<K> 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 interfacejakarta.persistence.metamodel.Bindable<X>- Overrides:
 getBindableJavaTypein classMembers.PluralAttributeImpl<X,Set<K>,K>
 
 - 
 
 -