org.datanucleus.jpa.metamodel
Class SetAttributeImpl<X,E>

java.lang.Object
  extended by org.datanucleus.jpa.metamodel.AttributeImpl<X,C>
      extended by org.datanucleus.jpa.metamodel.PluralAttributeImpl<X,java.util.Set<E>,E>
          extended by org.datanucleus.jpa.metamodel.SetAttributeImpl<X,E>
Type Parameters:
X - The type the represented Set belongs to
E - The element type of the represented Set
All Implemented Interfaces:
javax.persistence.metamodel.Attribute<X,java.util.Set<E>>, javax.persistence.metamodel.Bindable<E>, javax.persistence.metamodel.PluralAttribute<X,java.util.Set<E>,E>, javax.persistence.metamodel.SetAttribute<X,E>

public class SetAttributeImpl<X,E>
extends PluralAttributeImpl<X,java.util.Set<E>,E>
implements javax.persistence.metamodel.SetAttribute<X,E>

Implementation of JPA2 metamodel "SetAttribute".


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
SetAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd, ManagedTypeImpl owner)
          Constructor for a SetAttribute.
 
Method Summary
 javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
           
 
Methods inherited from class org.datanucleus.jpa.metamodel.PluralAttributeImpl
getBindableJavaType, getBindableType, 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.PluralAttribute
getElementType
 
Methods inherited from interface javax.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
 
Methods inherited from interface javax.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
 

Constructor Detail

SetAttributeImpl

public SetAttributeImpl(org.datanucleus.metadata.AbstractMemberMetaData mmd,
                        ManagedTypeImpl owner)
Constructor for a SetAttribute.

Parameters:
mmd - Metadata for the member
owner - The owner class
Method Detail

getCollectionType

public javax.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
Specified by:
getCollectionType in interface javax.persistence.metamodel.PluralAttribute<X,java.util.Set<E>,E>
Overrides:
getCollectionType in class PluralAttributeImpl<X,java.util.Set<E>,E>


Copyright © 2011. All Rights Reserved.