cn.tenmg.clink.config.model.params.Param Maven / Gradle / Ivy
package cn.tenmg.clink.config.model.params;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlValue;
/**
* 参数配置
*
* @author June [email protected]
*
* @since 1.1.4
*/
@XmlAccessorType(XmlAccessType.FIELD)
public class Param {
@XmlAttribute
private String name;
@XmlValue
private String value;
/**
* 获取参数名
*
* @return 参数名
*/
public String getName() {
return name;
}
/**
* 设置参数名
*
* @param name
* 参数名
*/
public void setName(String name) {
this.name = name;
}
/**
* 获取参数值
*
* @return 参数值
*/
public String getValue() {
return value;
}
/**
* 设置参数值
*
* @param value
* 参数值
*/
public void setValue(String value) {
this.value = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy