bASE--Risk

//參考base-4.0.2.jar
public class Risk implements Serializable
//規則名
public
String ruleName; //規則包名
public String rulePackageName; //風險評分
public Integer score = Integer.valueOf(0); //描述
public String comments; //通知策略
public NotifyPolicy notifyPolicy; //驗證策略
public VerifyPolicy verifyPolicy; //風險類型
public List<String> riskTypes;
public Date createTime; public Map<String, Object> customization = new HashMap(); public String uuid; //風險權重
public Integer weight = Integer.valueOf(1);

 

//構造器比較多
public
Risk() { this(null, 0, 1, new Date()); } public Risk(String paramString) { this(); setUuid(paramString); } public Risk(String paramString, int paramInt, Date paramDate) { setRuleName(paramString); setScore(Integer.valueOf(paramInt)); setCreateTime(paramDate); } public Risk(String paramString, int paramInt1, int paramInt2, Date paramDate) { setRuleName(paramString); setScore(Integer.valueOf(paramInt1)); setWeight(Integer.valueOf(paramInt2)); setCreateTime(paramDate); } public Risk(String paramString1, String paramString2, int paramInt, String paramString3, NotifyPolicy paramNotifyPolicy, VerifyPolicy paramVerifyPolicy, String... paramVarArgs) { this(paramString1, paramString2, paramInt, 1, paramString3, paramNotifyPolicy, paramVerifyPolicy, paramVarArgs); } public Risk(String paramString1, String paramString2, int paramInt1, int paramInt2, String paramString3, NotifyPolicy paramNotifyPolicy, VerifyPolicy paramVerifyPolicy, String... paramVarArgs) { setRuleName(paramString1); setRulePackageName(paramString2); setScore(Integer.valueOf(paramInt1)); setWeight(Integer.valueOf(paramInt2)); setComments(paramString3); setNotifyPolicy(paramNotifyPolicy); setVerifyPolicy(paramVerifyPolicy); if (paramVarArgs != null) { ArrayList localArrayList = new ArrayList(); for (String str : paramVarArgs) { localArrayList.add(str); } setRiskTypes(localArrayList); } setCreateTime(new Date()); }
本站公眾號
   歡迎關注本站公眾號,獲取更多信息