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()); }
  • 相关阅读:
    hdu 1863 畅通工程
    poj 2524 Ubiquitous Religions
    04 Linux终端命令01
    05 linux中yum源报错
    Filterg过滤器和Listener监听器
    03 Centos的文件目录、远程连接工具及快照操作
    02 安装虚拟机以及设置虚拟机网卡信息
    01VM虚拟机介绍及配置虚拟机网卡信息
    Jstl表达式
    EL表达式
  • 原文地址:https://www.cnblogs.com/ShanHeDiao/p/5682797.html
Copyright © 2011-2022 走看看