|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 the JPA PluralAttribute interface with methods required by Errai persistence but missing from the JPA metamodel. Most importantly, this interface provides methods for reading and writing the attribute value.
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 |
Method Summary | |
---|---|
C |
createEmptyCollection()
Creates a new, empty collection of a type that is assignable to this attribute via the ErraiAttribute.set(Object, Object) method. |
Methods inherited from interface org.jboss.errai.jpa.client.local.ErraiAttribute |
---|
cascades, get, set, toString |
Methods inherited from interface javax.persistence.metamodel.PluralAttribute |
---|
getCollectionType, getElementType |
Methods inherited from interface javax.persistence.metamodel.Attribute |
---|
getDeclaringType, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection |
Methods inherited from interface javax.persistence.metamodel.Bindable |
---|
getBindableJavaType, getBindableType |
Method Detail |
---|
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()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |