Class EntityObjectWrapper

java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.templatemodel.EntityObjectWrapper
All Implemented Interfaces:
TemplateObjectWrapper

@Component public class EntityObjectWrapper extends Object implements TemplateObjectWrapper
TemplateObjectWrapper for Entitys added to the template model. The TemplateModel representation of the Entity allows to retrieve field values and resolve relations using the classic freemarker hash syntax: ${entity.relOther_entity.field}.