EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

javax.persistence.metamodel
Interface AbstractCollection<X,C,E>

Type Parameters:
X - The type the represented collection belongs to
C - The type of the represented collection
E - The element type of the represented collection
All Superinterfaces:
Bindable<E>, Member<X,C>
All Known Subinterfaces:
Collection<X,E>, List<X,E>, Map<X,K,V>, Set<X,E>

public interface AbstractCollection<X,C,E>
extends Member<X,C>, Bindable<E>

Instances of the type AbstractionCollection represent persistent collection-valued attributes.


Nested Class Summary
static class AbstractCollection.CollectionType
           
static class AbstractCollection.Multiplicity
           
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Bindable
Bindable.BindableType
 
Method Summary
 AbstractCollection.CollectionType getCollectionType()
          Return the collection type.
 Type<E> getElementType()
          Return the type representing the element type of the collection.
 AbstractCollection.Multiplicity getMultiplicity()
          Return the multiplicity.
 
Methods inherited from interface javax.persistence.metamodel.Member
getDeclaringType, getJavaMember, getMemberJavaType, getName, isAssociation, isCollection
 
Methods inherited from interface javax.persistence.metamodel.Bindable
getBindableType, getJavaType
 

Method Detail

getCollectionType

AbstractCollection.CollectionType getCollectionType()
Return the collection type.

Returns:
collection type

getMultiplicity

AbstractCollection.Multiplicity getMultiplicity()
Return the multiplicity.

Returns:
multiplicity

getElementType

Type<E> getElementType()
Return the type representing the element type of the collection.

Returns:
element type

EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference