X
- The type the represented collection belongs toC
- The type of the represented collectionV
- The element type of the represented collectionpublic abstract class PluralAttributeImpl<X,C,V> extends AttributeImpl<X,C> implements javax.persistence.metamodel.PluralAttribute<X,C,V>
Purpose: Provides the implementation for the PluralAttribute interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type PluralAttribute represent persistent collection-valued attributes.
PluralAttribute
,
Serialized Formjavax.persistence.metamodel.PluralAttribute.CollectionType
Modifier and Type | Method and Description |
---|---|
java.lang.Class<V> |
getBindableJavaType()
Return the Java type of the represented object.
|
javax.persistence.metamodel.Bindable.BindableType |
getBindableType()
Return the bindable type of the represented object.
|
CollectionMapping |
getCollectionMapping()
INTERNAL:
Return the mapping associated with this PluralAttribute.
|
abstract javax.persistence.metamodel.PluralAttribute.CollectionType |
getCollectionType()
Return the collection type.
|
javax.persistence.metamodel.Type<V> |
getElementType()
Return the type representing the element type of the
collection.
|
boolean |
isPlural()
INTERNAL:
Return whether the attribute is plural or singular
|
java.lang.String |
toString() |
getDeclaringType, getJavaMember, getJavaType, getManagedTypeImpl, getMapping, getName, getPersistentAttributeType, isAssociation, isCollection
public java.lang.Class<V> getBindableJavaType()
PLURAL_ATTRIBUTE
,
the Java element type is returned. If the bindable type is
SINGULAR_ATTRIBUTE
or ENTITY_TYPE
,
the Java type of the
represented entity or attribute is returned.getBindableJavaType
in interface javax.persistence.metamodel.Bindable<V>
public javax.persistence.metamodel.Bindable.BindableType getBindableType()
getBindableType
in interface javax.persistence.metamodel.Bindable<V>
public CollectionMapping getCollectionMapping()
public abstract javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
public javax.persistence.metamodel.Type<V> getElementType()
public boolean isPlural()
AttributeImpl
isPlural
in class AttributeImpl<X,C>
public java.lang.String toString()
toString
in class java.lang.Object
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference