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)
RelationSpi
compatibleWith
in interface RelationSpi
public String velocityVar()
RelationSpi
velocityVar()
methods returns myextension
, the corresponding RelationSpi implementation instance is given by
$relation.myextension
.velocityVar
in interface RelationSpi
public void init(Relation relation)
RelationSpi
Relation
instance.init
in interface RelationSpi
public String getNotNullAnnotation()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.