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

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

package net.sf.xmlform.config;

import net.sf.xmlform.util.I18NTexts;

/**
 * @author Liu Zhikun
 */

public class SeverityLevelDefinition implements Cloneable  {
	private String key;
	private String value;
	private I18NTexts texts=new I18NTexts();
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public I18NTexts getTexts() {
		return texts;
	}
	public void setTexts(I18NTexts texts) {
		this.texts = texts;
	}
	public Object clone() {
		try {		    
			SeverityLevelDefinition cloneObj=(SeverityLevelDefinition)super.clone();
			cloneObj.value=value;
			cloneObj.key=key;
			cloneObj.texts=(I18NTexts)texts.clone();
			return cloneObj;
		} catch (CloneNotSupportedException e) {
		    throw new IllegalStateException(e);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy