
celerio.pack-backend-jpa.src.main.resources.localization.domain.domain.e.vm.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pack-backend-jpa Show documentation
Show all versions of pack-backend-jpa Show documentation
The Celerio Generation Template Pack "JPA backend" contains a set of source code file templates that
are interpreted by Celerio code generator in order to generate an application persistence layer.
The newest version!
$output.domainLocalization("${entity.model.type}.xml")##
Domain resources for ${entity.model.varUp}
$entity.labels.label
## We use mode.type to so dev can use repository.getTarget().getSimpleName() to construct the key.
Search $entity.labels.label
Create $entity.labels.label
Edit {0}
View {0}
#foreach ($attribute in $entity.allAttributes.list)
$attribute.labels.label
#end
#foreach ($relation in $entity.xToOne.list)
#if ($velocityCount == 1)
#end
$relation.labels.label
#end
#foreach ($relation in $entity.oneToMany.list)
#if ($velocityCount == 1)
#end
$relation.labels.label
#end
#foreach ($relation in $entity.manyToMany.list)
#if ($velocityCount == 1)
#end
$relation.labels.label
#end
#if($entity.uniques.isNotEmpty())
#end
#foreach ($unique in $entity.simpleUniques.list)
${unique.attribute.labels.label} already exists
#end
#foreach ($compositeUnique in $entity.compositeUniques.list)
#if("$compositeUnique.name" != "")
$entity.labels.label ${compositeUnique.name.toLowerCase()} constraint violation
#end
#end
A composite unique constraint has failed on $entity.labels.label
© 2015 - 2025 Weber Informatics LLC | Privacy Policy