1 28 package net.sf.jasperreports.engine.design; 29 30 import java.io.File ; 31 import java.io.Serializable ; 32 import java.util.List ; 33 34 40 public class JRCompilationUnit 41 { 42 45 private final String name; 46 47 50 private final String source; 51 52 55 private final File sourceFile; 56 57 60 private final List expressions; 61 62 65 private Serializable compileData; 66 67 68 76 public JRCompilationUnit(String name, String source, File sourceFile, List expressions) 77 { 78 this.name = name; 79 this.source = source; 80 this.sourceFile = sourceFile; 81 this.expressions = expressions; 82 } 83 84 85 90 public String getName() 91 { 92 return name; 93 } 94 95 96 100 public String getSourceCode() 101 { 102 return source; 103 } 104 105 106 110 public File getSourceFile() 111 { 112 return sourceFile; 113 } 114 115 116 120 public List getExpressions() 121 { 122 return expressions; 123 } 124 125 126 131 public void setCompileData(Serializable compileData) 132 { 133 this.compileData = compileData; 134 } 135 136 137 141 public Serializable getCompileData() 142 { 143 return compileData; 144 } 145 } 146 | Popular Tags |