![JAR search and dependency download from the Maven repository](/logo.png)
de.tsl2.nano.h5.annotation.QueryAnnotationFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.h5 Show documentation
Show all versions of tsl2.nano.h5 Show documentation
TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)
package de.tsl2.nano.h5.annotation;
import java.util.Collection;
import de.tsl2.nano.annotation.extension.AnnotationFactory;
import de.tsl2.nano.bean.def.BeanDefinition;
import de.tsl2.nano.h5.collector.QueryResult;
@SuppressWarnings({ "rawtypes" })
public class QueryAnnotationFactory implements AnnotationFactory {
@Override
public void build(BeanDefinition instance, Query a) {
QueryResult, Object> qr = new QueryResult<>(a.name());
qr.getPresentable().setIcon(a.icon());
qr.saveDefinition();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy