public class JpaOneToManyRelation extends AbstractRelationSpi
Constructor and Description |
---|
JpaOneToManyRelation() |
Modifier and Type | Method and Description |
---|---|
boolean |
compatibleWith(Relation relation)
Whether the SPI is compatible with the passed relation.
|
List<String> |
getAnnotations() |
String |
getCacheAnnotation() |
boolean |
getHasTrueOrphanRemoval() |
String |
getOneToManyAnnotation() |
String |
getOrderByAnnotation() |
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.
|
addImport
public boolean compatibleWith(Relation relation)
RelationSpi
public String velocityVar()
RelationSpi
velocityVar()
methods returns myextension
, the corresponding RelationSpi implementation instance is given by
$relation.myextension
.public void init(Relation relation)
RelationSpi
Relation
instance.init
in interface RelationSpi
init
in class AbstractRelationSpi
public String getOneToManyAnnotation()
public String getOrderByAnnotation()
public String getCacheAnnotation()
public boolean getHasTrueOrphanRemoval()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.