View Javadoc
1   package org.kuali.common.util.metainf.model;
2   
3   import java.util.Properties;
4   
5   import org.kuali.common.util.Assert;
6   import org.kuali.common.util.PropertyUtils;
7   
8   public class WriteProperties {
9   
10  	private final WriteRequest request;
11  	private final Properties properties;
12  
13  	public WriteProperties(WriteRequest request, Properties properties) {
14  		Assert.noNulls(request, properties);
15  		this.request = request;
16  		this.properties = PropertyUtils.toImmutable(properties);
17  	}
18  
19  	public Properties getProperties() {
20  		return properties;
21  	}
22  
23  	public WriteRequest getRequest() {
24  		return request;
25  	}
26  
27  }