fix jpa model for links
This commit is contained in:
@@ -115,6 +115,13 @@ $jpa.linkAnnotations(4, $link, $entity.attributes)
|
||||
#foreach( $link in $entity.selectedLinks )
|
||||
public ${link.formattedFieldType(0)} ${link.getter}() {
|
||||
return this.${link.formattedFieldName(0)};
|
||||
}
|
||||
|
||||
#end
|
||||
//--- SETTERS FOR LINKS
|
||||
#foreach( $link in $entity.selectedLinks )
|
||||
public void ${link.setter}( ${link.formattedFieldType(0)} $link.fieldName ) {
|
||||
this.$link.fieldName = $link.fieldName ;
|
||||
}
|
||||
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user