public class JpaAttribute extends AbstractAttributeSpi
Constructor and Description |
---|
JpaAttribute(Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAnnotations() |
String |
getBasicAnnotation() |
String |
getColumnAnnotation() |
String |
getEnumAnnotation() |
String |
getGeneratedValueAnnotation() |
String |
getGenericGeneratorAnnotation() |
String |
getHibernateTypeAnnotation() |
String |
getIdAnnotation() |
String |
getLobAnnotation() |
String |
getSequenceGeneratorAnnotation() |
String |
getTemporalAnnotation() |
String |
getTransientAnnotation() |
String |
getVersionAnnotation() |
boolean |
hasIdGeneratorByConvention() |
boolean |
isAutomaticallyAssigned()
The negation of is isManuallyAssigned().
|
boolean |
isManuallyAssigned() |
String |
velocityVar()
The var name under which this AttributeSpi is available during template evaluation.
|
addImport, init
public JpaAttribute(Attribute attribute)
public String velocityVar()
AttributeSpi
velocityVar()
methods returns myextension
,
the corresponding AttributeSpi implementation instance is given by $attribute.myextension
.public String getTransientAnnotation()
public String getIdAnnotation()
public String getHibernateTypeAnnotation()
public String getBasicAnnotation()
public String getEnumAnnotation()
public String getLobAnnotation()
public String getTemporalAnnotation()
public String getColumnAnnotation()
public String getVersionAnnotation()
public String getGeneratedValueAnnotation()
public boolean isManuallyAssigned()
public boolean isAutomaticallyAssigned()
public String getSequenceGeneratorAnnotation()
public String getGenericGeneratorAnnotation()
public boolean hasIdGeneratorByConvention()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.