KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > common > ParameterBindSpec


1 package com.calipso.reportgenerator.common;
2
3 import com.calipso.reportgenerator.reportdefinitions.ParameterBind;
4
5 import java.io.Serializable JavaDoc;
6
7 /**
8  * Representa al mapeo para drill down desde parametros
9  */

10 public class ParameterBindSpec implements Serializable JavaDoc{
11   private String JavaDoc sourceFilterName;
12   private String JavaDoc sourceParameterName;
13   private String JavaDoc targetFilterName;
14   private String JavaDoc 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 JavaDoc getSourceFilterName() {
24     return sourceFilterName;
25   }
26
27   public String JavaDoc getSourceParameterName() {
28     return sourceParameterName;
29   }
30
31   public String JavaDoc getTargetFilterName() {
32     return targetFilterName;
33   }
34
35   public String JavaDoc getTargetParameterName() {
36     return targetParameterName;
37   }
38 }
39
Popular Tags