net.nan21.dnet.module.bd.elem.ds.model.ElementDs 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.AbstractTypeWithCodeDs;
import net.nan21.dnet.module.bd.elem.domain.entity.Element;
@Ds(entity = Element.class, sort = {@SortField(field = ElementDs.f_name)})
public class ElementDs extends AbstractTypeWithCodeDs {
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_typeId = "typeId";
public static final String f_type = "type";
public static final String f_dataType = "dataType";
public static final String f_sequenceNo = "sequenceNo";
public static final String f_calculation = "calculation";
@DsField(join = "left", path = "engine.id")
private Long engineId;
@DsField(join = "left", path = "engine.name")
private String engine;
@DsField(join = "left", path = "engine.type")
private String engineType;
@DsField(join = "left", path = "type.id")
private Long typeId;
@DsField(join = "left", path = "type.name")
private String type;
@DsField
private String dataType;
@DsField
private Integer sequenceNo;
@DsField
private String calculation;
public ElementDs() {
super();
}
public ElementDs(Element e) {
super(e);
}
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 getTypeId() {
return this.typeId;
}
public void setTypeId(Long typeId) {
this.typeId = typeId;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getDataType() {
return this.dataType;
}
public void setDataType(String dataType) {
this.dataType = dataType;
}
public Integer getSequenceNo() {
return this.sequenceNo;
}
public void setSequenceNo(Integer sequenceNo) {
this.sequenceNo = sequenceNo;
}
public String getCalculation() {
return this.calculation;
}
public void setCalculation(String calculation) {
this.calculation = calculation;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy