public class JpaToOneRelation extends AbstractRelationSpi
Constructor and Description |
---|
JpaToOneRelation() |
Modifier and Type | Method and Description |
---|---|
boolean |
compatibleWith(Relation relation)
Whether the SPI is compatible with the passed relation.
|
List<String> |
getAnnotations() |
String |
getCacheAnnotation() |
String |
getManyToOneAnnotation() |
String |
getMapsIdAnnotation() |
String |
getOneToOneAnnotation() |
String |
velocityVar()
The var name under which this RelationSpi is available during template evaluation.
|
addImport, init
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 String getManyToOneAnnotation()
public String getOneToOneAnnotation()
public String getMapsIdAnnotation()
public String getCacheAnnotation()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.