All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.xmlform.config.InfectionDefinition Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package net.sf.xmlform.config;

/**
 * @author Liu Zhikun
 * name is form field name,field is come from reference
 * 定义一个字段选项变化时,选项值(field)是否自动设置到其他字段上(name)
 */

public class InfectionDefinition implements Cloneable  {
	private String name,field,textfield;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}
	
//	public String getTextfield() {
//		return _textfield;
//	}
//	
//	public void setTextfield(String textfield) {
//		this._textfield = textfield;
//	}

	public Object clone() {
		try {		    
			InfectionDefinition cloneObj=(InfectionDefinition)super.clone();
			cloneObj.name=name;
			cloneObj.field=field;
			cloneObj.textfield=textfield;
			return cloneObj;
		} catch (CloneNotSupportedException e) {
		    throw new IllegalStateException(e);
		}
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy