1 package org.kuali.common.util.metainf.model; 2 3 import java.util.List; 4 5 import org.kuali.common.util.Assert; 6 import org.kuali.common.util.ListUtils; 7 8 public class WriteLines { 9 10 private final WriteRequest request; 11 private final List<String> lines; 12 13 public WriteLines(WriteRequest request, List<String> lines) { 14 Assert.noNulls(request, lines); 15 this.request = request; 16 this.lines = ListUtils.newImmutableArrayList(lines); 17 } 18 19 public List<String> getLines() { 20 return lines; 21 } 22 23 public WriteRequest getRequest() { 24 return request; 25 } 26 27 }