zoukankan      html  css  js  c++  java
  • 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()); }
  • 相关阅读:
    字符串操作练习:星座、凯撒密码、99乘法表、词频统计预处理
    条件、循环 、函数练习
    Python输入输出练习,运算练习,turtle初步练习
    steam游戏平台的数据分析
    浅谈微信三级分销系统的漏洞
    Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials阅读笔记
    Conditional Random Fields as Recurrent Neural Networks阅读笔记
    LeetCode824.Goat Latin
    LeetCode118.杨辉三角
    LeetCode500.键盘行
  • 原文地址:https://www.cnblogs.com/ShanHeDiao/p/5682797.html
Copyright © 2011-2022 走看看