• 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()); }
  • 相关阅读:
    ASP与sql存储过程
    SharpWebMail介绍和安装(转)
    安全编程: 验证输入
    【转】 数据库备份与还原处理
    权限管理设计、分析、实现参考资料
    权限设计
    提高查询速度方法总结
    乱七八糟知识点
    阿里分布式事务框架Seata原理解析
    分布式事务
  • 原文地址:https://www.cnblogs.com/ShanHeDiao/p/5682797.html
Copyright © 2020-2023  润新知