01: package com.calipso.reportgenerator.userinterface;
02:
03: import com.calipso.reportgenerator.common.ReportFilterSpec;
04: import com.calipso.reportgenerator.common.ReportSpec;
05:
06: /**
07: * Representa un elemento de la coleccion <code>UPCollection</code>.
08: */
09:
10: public abstract class UPCollectionElement {
11:
12: private ReportFilterSpec filterDefinition;
13: private ReportSpec reportSpec;
14:
15: public UPCollectionElement(ReportFilterSpec filterDefinition,
16: ReportSpec reportSpec) {
17: this .filterDefinition = filterDefinition;
18: this .reportSpec = reportSpec;
19: }
20:
21: protected ReportSpec getReportSpec() {
22: return reportSpec;
23: }
24:
25: protected ReportFilterSpec getFilterDefinition() {
26: return filterDefinition;
27: }
28:
29: public abstract UPPanel getVisualComponent();
30: }
|