X
- The type containing the represented attributeC
- The collection type of the represented attributeE
- The element type of the represented collection attributepublic interface ErraiPluralAttribute<X,C,E> extends ErraiAttribute<X,C>, javax.persistence.metamodel.PluralAttribute<X,C,E>
javax.persistence.metamodel.PluralAttribute.CollectionType
Modifier and Type | Method and Description |
---|---|
C |
createEmptyCollection()
Creates a new, empty collection of a type that is assignable to this
attribute via the
ErraiAttribute.set(Object, Object) method. |
cascades, get, set, toString
getCollectionType, getElementType
C createEmptyCollection()
ErraiAttribute.set(Object, Object)
method. Note that the
returned type is not necessarily a subtype of java.util.Collection: it
could also be a java.util.Map.PluralAttribute.getCollectionType()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.