| 1 |
|
package net.sf.sapjcosupport; |
| 2 |
|
|
| 3 |
|
import java.util.ArrayList; |
| 4 |
|
import java.util.List; |
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
public class SapMapping { |
| 15 |
|
private String className; |
| 16 |
|
private List inputLists; |
| 17 |
|
private SapBapiMapping bapi; |
| 18 |
|
private SapListMapping outputList, fieldSelection; |
| 19 |
|
|
| 20 |
0 |
public SapMapping(String className) { |
| 21 |
0 |
this.className = className; |
| 22 |
0 |
} |
| 23 |
|
|
| 24 |
|
public void setBapi(SapBapiMapping bapi) { |
| 25 |
0 |
this.bapi = bapi; |
| 26 |
0 |
} |
| 27 |
|
|
| 28 |
|
public String getClassName() { |
| 29 |
0 |
return className; |
| 30 |
|
} |
| 31 |
|
|
| 32 |
|
public SapBapiMapping getBapi() { |
| 33 |
0 |
return bapi; |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public List getInputLists() { |
| 37 |
0 |
return inputLists; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
public void addInputList(SapListMapping inputList) { |
| 41 |
0 |
if (inputLists == null) { |
| 42 |
0 |
inputLists = new ArrayList(3); |
| 43 |
|
} |
| 44 |
0 |
inputLists.add(inputList); |
| 45 |
0 |
} |
| 46 |
|
|
| 47 |
|
public SapListMapping getOutputList() { |
| 48 |
0 |
return outputList; |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
public void setOutputList(SapListMapping outputList) { |
| 52 |
0 |
this.outputList = outputList; |
| 53 |
0 |
} |
| 54 |
|
|
| 55 |
|
public SapListMapping getFieldSelection() { |
| 56 |
0 |
return fieldSelection; |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public void setFieldSelection(SapListMapping fieldSelection) { |
| 60 |
0 |
this.fieldSelection = fieldSelection; |
| 61 |
0 |
} |
| 62 |
|
} |