View Javadoc

1   package org.kuali.common.util.log.log4j.model;
2   
3   import java.util.Collections;
4   import java.util.List;
5   
6   import javax.xml.bind.annotation.XmlAttribute;
7   
8   import org.kuali.common.util.Assert;
9   import org.kuali.common.util.nullify.NullUtils;
10  
11  public final class AppenderRef {
12  
13  	public static final List<AppenderRef> EMPTY = Collections.<AppenderRef> emptyList();
14  
15  	@XmlAttribute
16  	private final String ref;
17  
18  	@SuppressWarnings("unused")
19  	private AppenderRef() {
20  		this(NullUtils.NONE);
21  	}
22  
23  	public AppenderRef(String ref) {
24  		Assert.noBlanks(ref);
25  		this.ref = ref;
26  	}
27  
28  	public String getRef() {
29  		return ref;
30  	}
31  
32  }