public class ValidationRelation extends Object implements RelationSpi
| Constructor and Description |
|---|
ValidationRelation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compatibleWith(Relation relation)
Whether the SPI is compatible with the passed relation.
|
List<String> |
getAnnotations() |
String |
getNotNullAnnotation()
Applies only to ManyToOne or OneToOne.
|
void |
init(Relation relation)
Invoked by Celerio, when this RelationSpi is binded on a
Relation instance. |
String |
velocityVar()
The var name under which this RelationSpi is available during template evaluation.
|
public boolean compatibleWith(Relation relation)
RelationSpicompatibleWith in interface RelationSpipublic String velocityVar()
RelationSpivelocityVar() methods returns myextension, the corresponding RelationSpi implementation instance is given by
$relation.myextension.velocityVar in interface RelationSpipublic void init(Relation relation)
RelationSpiRelation instance.init in interface RelationSpipublic String getNotNullAnnotation()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.