
com.qingcha.verifier.core.VerifyItem Maven / Gradle / Ivy
package com.qingcha.verifier.core;
import com.qingcha.verifier.core.utils.StringUtils;
/**
* @author qiqiang
*/
public class VerifyItem {
private String key;
private String subject;
private Object value;
private Object[] append;
public VerifyItem(String key, Object value, Object... append) {
this.key = key;
this.value = value;
this.append = append;
}
public String getSubject() {
if (StringUtils.isBlank(subject)) {
return key;
}
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public Object getValue() {
return value;
}
public void setValue(Object value) {
this.value = value;
}
public Object[] getAppend() {
return append;
}
public void setAppend(Object[] append) {
this.append = append;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy