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

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

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


/**
 * @author Liu Zhikun
 */

public class SummaryDefinition implements Cloneable {
	private String exp=null;
	private String field=null;
	private boolean always=false;
	
	public String getExp() {
		return exp;
	}

	public void setExp(String exp) {
		this.exp = exp;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}
	
	public boolean getAlways() {
		return always;
	}
	public void setAlways(boolean always) {
		this.always=always;
	}
	
	public Object clone() {
		try {		    
			SummaryDefinition cloneObj=(SummaryDefinition)super.clone();
			cloneObj.exp=exp;
			cloneObj.field=field;
			cloneObj.always=always;
			return cloneObj;
		} catch (CloneNotSupportedException e) {
		    throw new IllegalStateException(e);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy