org.datanucleus.jpa.metamodel
Class PluralAttributeImpl<X,C,E>

java.lang.Object
  extended by org.datanucleus.jpa.metamodel.AttributeImpl<X,C>
      extended by org.datanucleus.jpa.metamodel.PluralAttributeImpl<X,C,E>
Type Parameters:
X - the type that owns this member
C - 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:
javax.persistence.metamodel.Attribute<X,C>, javax.persistence.metamodel.Bindable<E>, javax.persistence.metamodel.PluralAttribute<X,C,E>
Direct Known Subclasses:
CollectionAttributeImpl, ListAttributeImpl, MapAttributeImpl, SetAttributeImpl

public class PluralAttributeImpl<X,C,E>
extends AttributeImpl<X,C>
implements javax.persistence.metamodel.PluralAttribute<X,C,E>

Implementation of JPA2 Metamodel "PluralAttribute".


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.PluralAttribute
javax.persistence.metamodel.PluralAttribute.CollectionType
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Attribute
javax.persistence.metamodel.Attribute.PersistentAttributeType
 
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Bindable
javax.persistence.metamodel.Bindable.BindableType
 
Constructor Summary
PluralAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd, ManagedTypeImpl<X> owner)
           
 
Method Summary
 java.lang.Class<E> getBindableJavaType()
           
 javax.persistence.metamodel.Bindable.BindableType getBindableType()
           
 javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
           
 javax.persistence.metamodel.Type<E> getElementType()
           
 
Methods inherited from class org.datanucleus.jpa.metamodel.AttributeImpl
getDeclaringType, getJavaMember, getJavaType, getMetadata, getName, getPersistentAttributeType, getType, isAssociation, isCollection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
 

Constructor Detail

PluralAttributeImpl

public PluralAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd,
                           ManagedTypeImpl<X> owner)
Method Detail

getBindableJavaType

public java.lang.Class<E> getBindableJavaType()
Specified by:
getBindableJavaType in interface javax.persistence.metamodel.Bindable<E>

getBindableType

public javax.persistence.metamodel.Bindable.BindableType getBindableType()
Specified by:
getBindableType in interface javax.persistence.metamodel.Bindable<E>

getCollectionType

public javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
Specified by:
getCollectionType in interface javax.persistence.metamodel.PluralAttribute<X,C,E>

getElementType

public javax.persistence.metamodel.Type<E> getElementType()
Specified by:
getElementType in interface javax.persistence.metamodel.PluralAttribute<X,C,E>


Copyright © 2011. All Rights Reserved.