Class Members.MapAttributeImpl<X,K,V>

All Implemented Interfaces:
jakarta.persistence.metamodel.Attribute<X,Map<K,V>>, jakarta.persistence.metamodel.Bindable<V>, jakarta.persistence.metamodel.MapAttribute<X,K,V>, jakarta.persistence.metamodel.PluralAttribute<X,Map<K,V>,V>, Comparable<Members.Member<X,Map<K,V>>>
Enclosing class:
Members

public static class Members.MapAttributeImpl<X,K,V> extends Members.PluralAttributeImpl<X,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>.
  • Constructor Details

  • Method Details

    • getCollectionType

      public jakarta.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
      Specified by:
      getCollectionType in interface jakarta.persistence.metamodel.PluralAttribute<X,K,V>
    • getKeyJavaType

      public Class<K> getKeyJavaType()
      Specified by:
      getKeyJavaType in interface jakarta.persistence.metamodel.MapAttribute<X,K,V>
    • getKeyType

      public jakarta.persistence.metamodel.Type<K> getKeyType()
      Specified by:
      getKeyType in interface jakarta.persistence.metamodel.MapAttribute<X,K,V>
    • 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 interface jakarta.persistence.metamodel.Attribute<X,K>
      Overrides:
      getPersistentAttributeType in class Members.PluralAttributeImpl<X,Map<K,V>,V>