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:
Attribute<X,C>, Bindable<E>, PluralAttribute<X, C, E>, 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 PluralAttribute<X,C,E>
Root of multi-cardinality attribute.
- 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.final Bindable.BindableTypeReturns the bindable category of this attribute.Returns the type representing the element type of the collection.Returns the persistent category for the attribute.Methods 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, isAssociation, isCollectionMethods inherited from interface PluralAttribute
getCollectionType
-
Constructor Details
-
PluralAttributeImpl
-
-
Method Details
-
getElementType
Returns the type representing the element type of the collection.- Specified by:
getElementTypein interfacePluralAttribute<X,C, E>
-
getBindableType
Returns the bindable category of this attribute.- Specified by:
getBindableTypein interfaceBindable<X>
-
getBindableJavaType
Returns the bindable Java type of this attribute. For PLURAL_ATTRIBUTE, the Java element type is returned.- Specified by:
getBindableJavaTypein interfaceBindable<X>
-
getPersistentAttributeType
Description copied from class:Members.MemberReturns the persistent category for the attribute.- Specified by:
getPersistentAttributeTypein interfaceAttribute<X,C> - Overrides:
getPersistentAttributeTypein classMembers.Member<X,C>
-