View Javadoc

1   package org.kuali.common.util.log4j.model;
2   
3   import javax.xml.bind.annotation.XmlAttribute;
4   
5   /**
6    * @deprecated
7    */
8   @Deprecated
9   public class Level {
10  
11  	public static final Class<org.apache.log4j.Level> DEFAULT_JAVA_CLASS = org.apache.log4j.Level.class;
12  
13  	Class<?> javaClass = DEFAULT_JAVA_CLASS;
14  	Value value;
15  
16  	public Level(Level level) {
17  		super();
18  		this.javaClass = level.getJavaClass();
19  		this.value = level.getValue();
20  	}
21  
22  	public Level() {
23  		this((Value) null);
24  	}
25  
26  	public Level(Value value) {
27  		super();
28  		this.value = value;
29  	}
30  
31  	@XmlAttribute(name = "class")
32  	public Class<?> getJavaClass() {
33  		return javaClass;
34  	}
35  
36  	@XmlAttribute
37  	public Value getValue() {
38  		return value;
39  	}
40  
41  	public void setJavaClass(Class<?> javaClass) {
42  		this.javaClass = javaClass;
43  	}
44  
45  	public void setValue(Value value) {
46  		this.value = value;
47  	}
48  
49  }