This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/supcan/Express.java
2017-12-29 16:18:40 +08:00

67 lines
1.3 KiB
Java

/**
* Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.nis.supcan;
import com.nis.util.ObjectUtils;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import com.thoughtworks.xstream.converters.extended.ToAttributedValueConverter;
/**
* 硕正TreeList Properties Express
* @author WangZhen
* @version 2013-11-04
*/
@XStreamAlias("Express")
@XStreamConverter(value = ToAttributedValueConverter.class, strings = {"text"})
public class Express {
/**
* 是否自动按列的引用关系优化计算顺序 默认值true
*/
@XStreamAsAttribute
private String isOpt;
/**
* 文本
*/
private String text;
public Express() {
}
public Express(SupExpress supExpress) {
this();
ObjectUtils.annotationToObject(supExpress, this);
}
public Express(String text) {
this.text = text;
}
public Express(String name, String text) {
this(name);
this.text = text;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getIsOpt() {
return isOpt;
}
public void setIsOpt(String isOpt) {
this.isOpt = isOpt;
}
}