net.nan21.dnet.module.bd.elem.ds.model.ElementInputDs 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.api.annotation.SortField;
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.ElementInput;
@Ds(entity = ElementInput.class, sort = {
@SortField(field = ElementInputDs.f_engine),
@SortField(field = ElementInputDs.f_sequenceNo),
@SortField(field = ElementInputDs.f_reference)})
@RefLookups({
@RefLookup(refId = ElementInputDs.f_elementId, namedQuery = Element.NQ_FIND_BY_ENGINE_CODE_PRIMITIVE, params = {
@Param(name = "pEngineId", field = ElementInputDs.f_engineId),
@Param(name = "pCode", field = ElementInputDs.f_element)}),
@RefLookup(refId = ElementInputDs.f_referenceId, namedQuery = Element.NQ_FIND_BY_ENGINE_CODE_PRIMITIVE, params = {
@Param(name = "pEngineId", field = ElementInputDs.f_engineId),
@Param(name = "pCode", field = ElementInputDs.f_reference)})})
public class ElementInputDs extends AbstractAuditableDs {
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_engineId = "engineId";
public static final String f_engine = "engine";
public static final String f_engineType = "engineType";
public static final String f_referenceId = "referenceId";
public static final String f_reference = "reference";
public static final String f_referenceName = "referenceName";
public static final String f_alias = "alias";
@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(join = "left", path = "element.sequenceNo")
private Integer sequenceNo;
@DsField(join = "left", path = "element.engine.id")
private Long engineId;
@DsField(join = "left", path = "element.engine.name")
private String engine;
@DsField(join = "left", path = "element.engine.type")
private String engineType;
@DsField(join = "left", path = "crossReference.id")
private Long referenceId;
@DsField(join = "left", path = "crossReference.code")
private String reference;
@DsField(join = "left", path = "crossReference.name")
private String referenceName;
@DsField
private String alias;
public ElementInputDs() {
super();
}
public ElementInputDs(ElementInput e) {
super(e);
}
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 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 getReferenceId() {
return this.referenceId;
}
public void setReferenceId(Long referenceId) {
this.referenceId = referenceId;
}
public String getReference() {
return this.reference;
}
public void setReference(String reference) {
this.reference = reference;
}
public String getReferenceName() {
return this.referenceName;
}
public void setReferenceName(String referenceName) {
this.referenceName = referenceName;
}
public String getAlias() {
return this.alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy