X
- The type containing the represented attributeY
- The type of the represented attributepublic interface ErraiAttribute<X,Y>
extends javax.persistence.metamodel.Attribute<X,Y>
Modifier and Type | Method and Description |
---|---|
boolean |
cascades(javax.persistence.CascadeType cascadeType)
Returns true if this attribute cascades the given type of operation.
|
Y |
get(X entityInstance)
Retrieves the value of this attribute from the given entity instance.
|
void |
set(X entityInstance,
Y value)
Sets the value of this attribute on the given entity instance.
|
String |
toString()
Returns the type of this attribute, its owning entity type, and the attribute's name.
|
boolean cascades(javax.persistence.CascadeType cascadeType)
cascadeType
should be cascaded
to this attribute from its owning entity.Y get(X entityInstance)
entityInstance
- The entity to retrieve the entity value from. The type of this
argument must be assignable to the declaring entity's type
(returned by Attribute.getDeclaringType()
).void set(X entityInstance, Y value)
entityInstance
- The entity to set this attribute value on. The type of this
argument must be assignable to the declaring entity's type
(returned by Attribute.getDeclaringType()
).value
- The value to set the attribute to.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.