X
- The type containing the represented attributeT
- The type of the represented attributepublic interface ErraiSingularAttribute<X,T> extends ErraiAttribute<X,T>, javax.persistence.metamodel.SingularAttribute<X,T>
Modifier and Type | Method and Description |
---|---|
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).
|
cascades, get, set, toString
getType, isId, isOptional, isVersion
boolean isGeneratedValue()
ErraiIdGenerator<T> getValueGenerator()
@GeneratedValue
.UnsupportedOperationException
- if this attribute is not a @GeneratedValue
.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.