📄 indexindexs.java.svn-base
字号:
package com.srit.gcz.bean;
import java.util.Date;
import java.util.List;
import com.srit.gcz.util.SysFuncUtils;
/**
* 指标
* @Company 国研科技
* @author 陈鹏昊
* @date 2009-3-24
* @version 1.0
* @since 1.0
*/
public class IndexIndexs {
// 编号
private int id = -1;
// 指标排序
private int sequence = -1;
// 上级指标ID
private int parentId = -1;
// 分类ID
private int categoryId = -1;
// 指标名称
private String indexName = null;
// 创建人
private String createUser = null;
// 创建时间
private Date createDate = null;
// 计量单位
private int unitId = -1;
// 指标状态 0停用 1启用
private int state = -1;
// 指标解释
private String remark = null;
// 指标类型-用于树形显示
private int type = -1;
// 是否还有子节点 0:不含有 1:含有
private int hasChild = -1;
//=========非数据库字段===========
// 统计单位名称
private String unitName = null;
// 状态名称
private String stateName = null;
// 统计属性序号
private String statIDs = null;
// 统计频度序号
private String frequencyIDs = null;
// 维度序号
private String dimIDs = null;
// 维度关系
private List<IndexDimRel> dimsRel = null;
// 统计属性关系
private List<IndexStatRel> statsRel = null;
// 统计频度关系
private List<IndexFrequencyRel> frequencyRel = null;
// 相关维度
private List<IndexDim> dims = null;
// 相关统计属性
private List<IndexStat> stats = null;
// 相关统计频度
private List<IndexFrequency> frequency = null;
public String getStatIDs() {
return statIDs;
}
public void setStatIDs(String statIDs) {
this.statIDs = statIDs;
}
public String getFrequencyIDs() {
return frequencyIDs;
}
public void setFrequencyIDs(String frequencyIDs) {
this.frequencyIDs = frequencyIDs;
}
public String getDimIDs() {
return dimIDs;
}
public void setDimIDs(String dimIDs) {
this.dimIDs = dimIDs;
}
public String getStateName() {
return stateName;
}
public void setStateName(String stateName) {
this.stateName = stateName;
}
public List<IndexDim> getDims() {
return dims;
}
public void setDims(List<IndexDim> dims) {
StringBuffer sb = new StringBuffer();
for(IndexDim temp : dims){
sb.append(temp.getId()).append(",");
}
this.dimIDs = SysFuncUtils.delLastChart(sb);
this.dims = dims;
}
public List<IndexStat> getStats() {
return stats;
}
public void setStats(List<IndexStat> stats) {
StringBuffer sb = new StringBuffer();
for(IndexStat temp : stats){
sb.append(temp.getId()).append(",");
}
this.statIDs = SysFuncUtils.delLastChart(sb);
this.stats = stats;
}
public List<IndexFrequency> getFrequency() {
return frequency;
}
public void setFrequency(List<IndexFrequency> frequency) {
StringBuffer sb = new StringBuffer();
for(IndexFrequency temp : frequency){
sb.append(temp.getId()).append(",");
}
this.frequencyIDs = SysFuncUtils.delLastChart(sb);
this.frequency = frequency;
}
public String getUnitName() {
return unitName;
}
public void setUnitName(String unitName) {
this.unitName = unitName;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getSequence() {
return sequence;
}
public void setSequence(int sequence) {
this.sequence = sequence;
}
public int getParentId() {
return parentId;
}
public void setParentId(int parentId) {
this.parentId = parentId;
}
public int getCategoryId() {
return categoryId;
}
public void setCategoryId(int categoryId) {
this.categoryId = categoryId;
}
public String getIndexName() {
return indexName;
}
public void setIndexName(String indexName) {
this.indexName = indexName;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public int getUnitId() {
return unitId;
}
public void setUnitId(int unitId) {
this.unitId = unitId;
}
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getHasChild() {
return hasChild;
}
public void setHasChild(int hasChild) {
this.hasChild = hasChild;
}
public List<IndexDimRel> getDimsRel() {
return dimsRel;
}
public void setDimsRel(List<IndexDimRel> dimsRel) {
this.dimsRel = dimsRel;
}
public List<IndexStatRel> getStatsRel() {
return statsRel;
}
public void setStatsRel(List<IndexStatRel> statsRel) {
this.statsRel = statsRel;
}
public List<IndexFrequencyRel> getFrequencyRel() {
return frequencyRel;
}
public void setFrequencyRel(List<IndexFrequencyRel> frequencyRel) {
this.frequencyRel = frequencyRel;
}
public String getCreateUser() {
return createUser;
}
public void setCreateUser(String createUser) {
this.createUser = createUser;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -