01: package com.calipso.reportgenerator.common;
02:
03: import com.calipso.reportgenerator.reportdefinitions.ParameterBind;
04:
05: import java.io.Serializable;
06:
07: /**
08: * Representa al mapeo para drill down desde parametros
09: */
10: public class ParameterBindSpec implements Serializable {
11: private String sourceFilterName;
12: private String sourceParameterName;
13: private String targetFilterName;
14: private String targetParameterName;
15:
16: public void fillFrom(ParameterBind parameterBind) {
17: sourceFilterName = parameterBind.getSourceFilterName();
18: sourceParameterName = parameterBind.getSourceParameterName();
19: targetFilterName = parameterBind.getTargetFilterName();
20: targetParameterName = parameterBind.getTargetParameterName();
21: }
22:
23: public String getSourceFilterName() {
24: return sourceFilterName;
25: }
26:
27: public String getSourceParameterName() {
28: return sourceParameterName;
29: }
30:
31: public String getTargetFilterName() {
32: return targetFilterName;
33: }
34:
35: public String getTargetParameterName() {
36: return targetParameterName;
37: }
38: }
|