Class Members.MapAttributeImpl<X,K,V>
- java.lang.Object
-
- org.apache.openjpa.persistence.meta.Members.Member<X,C>
-
- org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl<X,java.util.Map<K,V>,V>
-
- org.apache.openjpa.persistence.meta.Members.MapAttributeImpl<X,K,V>
-
- All Implemented Interfaces:
jakarta.persistence.metamodel.Attribute<X,java.util.Map<K,V>>
,jakarta.persistence.metamodel.Bindable<V>
,jakarta.persistence.metamodel.MapAttribute<X,K,V>
,jakarta.persistence.metamodel.PluralAttribute<X,java.util.Map<K,V>,V>
,java.lang.Comparable<Members.Member<X,java.util.Map<K,V>>>
- Enclosing class:
- Members
public static class Members.MapAttributeImpl<X,K,V> extends Members.PluralAttributeImpl<X,java.util.Map<K,V>,V> implements jakarta.persistence.metamodel.MapAttribute<X,K,V>
Represents attributes declared as java.util.Map<K,V> in managed type <X>.
-
-
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 MapAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.metamodel.PluralAttribute.CollectionType
getCollectionType()
java.lang.Class<K>
getKeyJavaType()
jakarta.persistence.metamodel.Type<K>
getKeyType()
jakarta.persistence.metamodel.Attribute.PersistentAttributeType
getPersistentAttributeType()
Returns the persistent category for the attribute.-
Methods inherited from class org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl
getBindableJavaType, getBindableType, getElementType
-
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
-
Methods inherited from interface jakarta.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getJavaType, getName, isAssociation, isCollection
-
-
-
-
Constructor Detail
-
MapAttributeImpl
public MapAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
-
-
Method Detail
-
getCollectionType
public jakarta.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
-
getKeyJavaType
public java.lang.Class<K> getKeyJavaType()
-
getKeyType
public jakarta.persistence.metamodel.Type<K> getKeyType()
-
getPersistentAttributeType
public jakarta.persistence.metamodel.Attribute.PersistentAttributeType getPersistentAttributeType()
Description copied from class:Members.Member
Returns the persistent category for the attribute.- Specified by:
getPersistentAttributeType
in interfacejakarta.persistence.metamodel.Attribute<X,K>
- Overrides:
getPersistentAttributeType
in classMembers.PluralAttributeImpl<X,java.util.Map<K,V>,V>
-
-