public class Rule extends Object implements Serializable, IRule
| Constructor and Description |
|---|
Rule() |
Rule(int order,
String action,
double lowScore,
double highScore,
String actionText,
boolean active,
String systemMatchType,
boolean canMatchSameSystem) |
| Modifier and Type | Method and Description |
|---|---|
void |
convertSystemMatchType(String systemMatchType) |
String |
getAction() |
String |
getActionText() |
String |
getHashKey() |
double |
getHighScore() |
double |
getLowScore() |
int |
getOrder() |
ArrayList<RulePurpose> |
getRulePurpose() |
int |
getSystemMatchType() |
boolean |
isActive() |
boolean |
isMatchSameSystem() |
void |
setAction(String action) |
void |
setActionText(String actionText) |
void |
setActive(boolean active) |
void |
setHighScore(Double double1) |
void |
setLowScore(Double double1) |
void |
setMatchSameSystem(boolean b) |
void |
setOrder(int order) |
void |
setRulePurpose(ArrayList<RulePurpose> rulePurpose) |
void |
setSystemMatchType(int smt) |
com.google.gson.JsonObject |
toJSON() |
public String getActionText()
getActionText in interface IRulepublic void setActionText(String actionText)
setActionText in interface IRulepublic ArrayList<RulePurpose> getRulePurpose()
getRulePurpose in interface IRulepublic void setRulePurpose(ArrayList<RulePurpose> rulePurpose)
setRulePurpose in interface IRulepublic double getHighScore()
getHighScore in interface IRulepublic double getLowScore()
getLowScore in interface IRulepublic void setLowScore(Double double1)
setLowScore in interface IRulepublic void setHighScore(Double double1)
setHighScore in interface IRulepublic int getSystemMatchType()
getSystemMatchType in interface IRulepublic void convertSystemMatchType(String systemMatchType)
convertSystemMatchType in interface IRulepublic void setSystemMatchType(int smt)
setSystemMatchType in interface IRulepublic boolean isMatchSameSystem()
isMatchSameSystem in interface IRulepublic void setMatchSameSystem(boolean b)
setMatchSameSystem in interface IRulepublic String getHashKey()
getHashKey in interface IRuleCopyright © 2021. All rights reserved.