net.nan21.dnet.module.bd.elem.ds.model.EngineLovDs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nan21.dnet.module.bd.presenter Show documentation
Show all versions of nan21.dnet.module.bd.presenter Show documentation
Base data module presentation layer.
The newest version!
/*
* DNet eBusiness Suite
* Copyright: 2010-2013 Nan21 Electronics SRL. All rights reserved.
* Use is subject to license terms.
*/
package net.nan21.dnet.module.bd.elem.ds.model;
import net.nan21.dnet.core.api.annotation.Ds;
import net.nan21.dnet.core.api.annotation.DsField;
import net.nan21.dnet.core.api.annotation.SortField;
import net.nan21.dnet.core.presenter.model.base.AbstractTypeLov;
import net.nan21.dnet.module.bd.elem.domain.entity.Engine;
@Ds(entity = Engine.class, jpqlWhere = " e.active = true ", sort = {@SortField(field = EngineLovDs.f_name)})
public class EngineLovDs extends AbstractTypeLov {
public static final String f_type = "type";
@DsField
private String type;
public EngineLovDs() {
super();
}
public EngineLovDs(Engine e) {
super(e);
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy