📄 caseinformation.java
字号:
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package eti.bi.alphaminer.vo;
/**
* CaseInformation is a class storing abstract information of a Case instance.
*/
public class CaseInformation {
/**
* ID of the Case this CaseInformation belongs to
*/
private String m_CaseID;
/**
* CaseInformation details
*/
private String m_CreateDate;
private String m_CaseDescription;
private String m_Industry;
private String m_ProblemType;
private String m_BusinessObjective;
private String m_DataMiningGoal;
private String m_CompanyName;
private String m_DepartmentName;
private String m_ToolUsed;
private String m_Status;
private double m_Score;
//<<21/02/2005 Mark Li: Add Case Name
private String m_CaseName;
//21/02/2005 Mark Li: Add Case Name>>
/**
* Constructs a CaseInformation
*/
public CaseInformation() {
m_CaseID = "UnDefined";
}
/**
* Constructs a CaseInformation instance of the specific Case ID.
* @param a_CaseID ID of Case this CaseInformation belongs to.
*/
public CaseInformation(String a_CaseID) {
m_CaseID = a_CaseID;
}
/*
public CaseInformation(String aCaseID, String aCML)
{
m_CaseID = aCaseID;
Node aNode = NodeFactory.createNode(aCaseID, NodeFactory.TASK, aCML);
if (aNode instanceof TaskNode)
{
TaskNode aTaskNode = (TaskNode)aNode;
setCreateDate(aTaskNode.getCreateDate());
setCaseDescription(aTaskNode.getCaseDescription());
setIndustry(aTaskNode.getIndustry());
setProblemType(aTaskNode.getProblemType());
setBusinessObjective(aTaskNode.getBusinessObjective());
setDataMiningGoal(aTaskNode.getDataMiningGoal());
setCompanyName(aTaskNode.getCompanyName());
setDepartmentName(aTaskNode.getDepartmentName());
setToolUsed(aTaskNode.getToolUsed());
// status should be obtained from task node
setStatus(Case.DEACTIVATE);
}
}
*/
/**
* Gets the Case ID.
* @return ID of the Case this CaseInformation belongs to.
*/
public String getCaseID() {
return m_CaseID;
}
/**
* Sets the Case ID of the Case this CaseInformation belongs to.
* @param a_CaseID ID to be set.
*/
public void setCaseID(String a_CaseID) {
m_CaseID = a_CaseID;
}
/**
* Gets creation date of the Case represented by this CaseInformation.
* @return creation date.
*/
public String getCreateDate() {
return m_CreateDate;
}
/**
* Sets the creation date of the Case represented by this CaseInformation.
* @param a_Date the creation date to be set.
*/
public void setCreateDate(String a_Date) {
m_CreateDate = a_Date;
}
/**
* Gets description.
* @return description.
*/
public String getCaseDescription() {
return m_CaseDescription;
}
/**
* Sets description.
* @param a_Description description to be set.
*/
public void setCaseDescription(String a_Description) {
m_CaseDescription = a_Description;
}
/**
* Gets industry.
* @return industry.
*/
public String getIndustry() {
return m_Industry;
}
/**
* Sets industry.
* @param a_Industry industry to be set.
*/
public void setIndustry(String a_Industry) {
m_Industry = a_Industry;
}
/**
* Gets problem type.
* @return problem type.
*/
public String getProblemType() {
return m_ProblemType;
}
/**
* Sets problem type.
* @param a_ProblemType problem type to be set.
*/
public void setProblemType(String a_ProblemType) {
m_ProblemType = a_ProblemType;
}
/**
* Gets business objective.
* @return business objective
*/
public String getBusinessObjective() {
return m_BusinessObjective;
}
/**
* Sets business objective.
* @param a_BusinessObjective business objective to be set.
*/
public void setBusinessObjective(String a_BusinessObjective) {
m_BusinessObjective = a_BusinessObjective;
}
/**
* Gets data mining goal.
* @return data mining goal.
*/
public String getDataMiningGoal() {
return m_DataMiningGoal;
}
/**
* Sets data mining goal.
* @param a_DataMiningGoal data mining goal to be set.
*/
public void setDataMiningGoal(String a_DataMiningGoal) {
m_DataMiningGoal = a_DataMiningGoal;
}
/**
* Gets company name.
* @return company name.
*/
public String getCompanyName() {
return m_CompanyName;
}
/**
* Sets company name.
* @param a_CompanyName company name to be set.
*/
public void setCompanyName(String a_CompanyName) {
m_CompanyName = a_CompanyName;
}
/**
* Gets department name.
* @return department name.
*/
public String getDepartmentName() {
return m_DepartmentName;
}
/**
* Sets department name.
* @param a_DepartmentName department name to be set.
*/
public void setDepartmentName(String a_DepartmentName) {
m_DepartmentName = a_DepartmentName;
}
/**
* Gets name of the tool used.
* @return name of the tool used.
*/
public String getToolUsed() {
return m_ToolUsed;
}
/**
* Sets name of the tool used.
* @param a_Tool name of the tool used to be set.
*/
public void setToolUsed(String a_Tool) {
m_ToolUsed = a_Tool;
}
/**
* Gets the status.
* @return the status.
*/
public String getStatus() {
return m_Status;
}
/**
* Sets the status.
* @param a_Status the status to be set.
*/
public void setStatus(String a_Status) {
m_Status = a_Status;
}
/**
* Gets the score.
* @return the score.
*/
public double getScore() {
return m_Score;
}
/**
* Sets the score.
* @param a_Score the score to be set.
*/
public void setScore(double a_Score) {
m_Score = a_Score;
}
//<<21/02/2005 Mark Li: Add Case Name
/**
* Gets the case name.
* @return the case name.
*/
public String getCaseName() {
return m_CaseName;
}
/**
* Sets the case name.
* @param a_CaseName case name to be set.
*/
public void setCaseName(String a_CaseName) {
m_CaseName = a_CaseName;
}
//21/02/2005 Mark Li: Add Case Name>>
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -