Class Members.PluralAttributeImpl<X,C,E>
- java.lang.Object
-
- org.apache.openjpa.persistence.meta.Members.Member<X,C>
-
- org.apache.openjpa.persistence.meta.Members.PluralAttributeImpl<X,C,E>
-
- Type Parameters:
X
- the type that owns this memberC
- the container type that holds this member (e.g. java.util.Set<Employee>)E
- the type of the element held by this member (e.g. Employee).
- All Implemented Interfaces:
jakarta.persistence.metamodel.Attribute<X,C>
,jakarta.persistence.metamodel.Bindable<E>
,jakarta.persistence.metamodel.PluralAttribute<X,C,E>
,java.lang.Comparable<Members.Member<X,C>>
- Direct Known Subclasses:
Members.CollectionAttributeImpl
,Members.ListAttributeImpl
,Members.MapAttributeImpl
,Members.SetAttributeImpl
- Enclosing class:
- Members
public abstract static class Members.PluralAttributeImpl<X,C,E> extends Members.Member<X,C> implements jakarta.persistence.metamodel.PluralAttribute<X,C,E>
Root of multi-cardinality attribute.
-
-
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 PluralAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<E>
getBindableJavaType()
Returns the bindable Java type of this attribute.jakarta.persistence.metamodel.Bindable.BindableType
getBindableType()
Returns the bindable category of this attribute.jakarta.persistence.metamodel.Type<E>
getElementType()
Returns the type representing the element type of the collection.jakarta.persistence.metamodel.Attribute.PersistentAttributeType
getPersistentAttributeType()
Returns the persistent category for the attribute.-
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
-
PluralAttributeImpl
public PluralAttributeImpl(AbstractManagedType<X> owner, FieldMetaData fmd)
-
-
Method Detail
-
getElementType
public final jakarta.persistence.metamodel.Type<E> getElementType()
Returns the type representing the element type of the collection.
-
getBindableType
public final jakarta.persistence.metamodel.Bindable.BindableType getBindableType()
Returns the bindable category of this attribute.- Specified by:
getBindableType
in interfacejakarta.persistence.metamodel.Bindable<X>
-
getBindableJavaType
public java.lang.Class<E> getBindableJavaType()
Returns the bindable Java type of this attribute. For PLURAL_ATTRIBUTE, the Java element type is returned.- Specified by:
getBindableJavaType
in interfacejakarta.persistence.metamodel.Bindable<X>
-
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,C>
- Overrides:
getPersistentAttributeType
in classMembers.Member<X,C>
-
-