|
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 attributeT
- The type of the represented attributepublic interface ErraiSingularAttribute<X,T>
Extends the JPA SingularAttribute interface with methods required by Errai persistence but missing from the JPA metamodel.
Nested Class Summary |
---|
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 | |
---|---|
ErraiIdGenerator<T> |
getValueGenerator()
Returns a generator for the values of this attribute. |
boolean |
isGeneratedValue()
Can the attribute's value be generated (usually for ID attributes). |
Methods inherited from interface org.jboss.errai.jpa.client.local.ErraiAttribute |
---|
cascades, get, set, toString |
Methods inherited from interface javax.persistence.metamodel.SingularAttribute |
---|
getType, isId, isOptional, isVersion |
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 |
---|
boolean isGeneratedValue()
ErraiIdGenerator<T> getValueGenerator()
@GeneratedValue
.
UnsupportedOperationException
- if this attribute is not a @GeneratedValue
.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |