net.nan21.dnet.module.bd.elem.ds.model.ElementSetElementDs 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.Param;
import net.nan21.dnet.core.api.annotation.RefLookup;
import net.nan21.dnet.core.api.annotation.RefLookups;
import net.nan21.dnet.core.presenter.model.base.AbstractAuditableDs;
import net.nan21.dnet.module.bd.elem.domain.entity.Element;
import net.nan21.dnet.module.bd.elem.domain.entity.ElementSet;
import net.nan21.dnet.module.bd.elem.domain.entity.ElementSetElement;
@Ds(entity = ElementSetElement.class)
@RefLookups({
@RefLookup(refId = ElementSetElementDs.f_elementSetId, namedQuery = ElementSet.NQ_FIND_BY_ENGINE_NAME_PRIMITIVE, params = {
@Param(name = "pEngineId", field = ElementSetElementDs.f_engineId),
@Param(name = "pName", field = ElementSetElementDs.f_elementSet)}),
@RefLookup(refId = ElementSetElementDs.f_elementId, namedQuery = Element.NQ_FIND_BY_ENGINE_CODE_PRIMITIVE, params = {
@Param(name = "pEngineId", field = ElementSetElementDs.f_engineId),
@Param(name = "pCode", field = ElementSetElementDs.f_element)})})
public class ElementSetElementDs extends AbstractAuditableDs {
public static final String f_elementSetId = "elementSetId";
public static final String f_elementSet = "elementSet";
public static final String f_engineId = "engineId";
public static final String f_engine = "engine";
public static final String f_engineType = "engineType";
public static final String f_elementId = "elementId";
public static final String f_element = "element";
public static final String f_elementName = "elementName";
public static final String f_sequenceNo = "sequenceNo";
public static final String f_printLabel = "printLabel";
@DsField(join = "left", path = "elementSet.id")
private Long elementSetId;
@DsField(join = "left", path = "elementSet.name")
private String elementSet;
@DsField(join = "left", path = "elementSet.engine.id")
private Long engineId;
@DsField(join = "left", path = "elementSet.engine.name")
private String engine;
@DsField(join = "left", path = "elementSet.engine.type")
private String engineType;
@DsField(join = "left", path = "element.id")
private Long elementId;
@DsField(join = "left", path = "element.code")
private String element;
@DsField(join = "left", path = "element.name")
private String elementName;
@DsField
private Integer sequenceNo;
@DsField
private String printLabel;
public ElementSetElementDs() {
super();
}
public ElementSetElementDs(ElementSetElement e) {
super(e);
}
public Long getElementSetId() {
return this.elementSetId;
}
public void setElementSetId(Long elementSetId) {
this.elementSetId = elementSetId;
}
public String getElementSet() {
return this.elementSet;
}
public void setElementSet(String elementSet) {
this.elementSet = elementSet;
}
public Long getEngineId() {
return this.engineId;
}
public void setEngineId(Long engineId) {
this.engineId = engineId;
}
public String getEngine() {
return this.engine;
}
public void setEngine(String engine) {
this.engine = engine;
}
public String getEngineType() {
return this.engineType;
}
public void setEngineType(String engineType) {
this.engineType = engineType;
}
public Long getElementId() {
return this.elementId;
}
public void setElementId(Long elementId) {
this.elementId = elementId;
}
public String getElement() {
return this.element;
}
public void setElement(String element) {
this.element = element;
}
public String getElementName() {
return this.elementName;
}
public void setElementName(String elementName) {
this.elementName = elementName;
}
public Integer getSequenceNo() {
return this.sequenceNo;
}
public void setSequenceNo(Integer sequenceNo) {
this.sequenceNo = sequenceNo;
}
public String getPrintLabel() {
return this.printLabel;
}
public void setPrintLabel(String printLabel) {
this.printLabel = printLabel;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy