| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| SapListMapping |
|
| 1.0;1 |
| 1 | package net.sf.sapjcosupport; |
|
| 2 | ||
| 3 | /** |
|
| 4 | * Mapping class for input and output lists (table). |
|
| 5 | * This is used to determine if we should loop through a structure (e.g. "MM_DATA" table). |
|
| 6 | * When such a list is defined, we know that the returned data of a bapi call should map to |
|
| 7 | * multiple value objects. |
|
| 8 | * |
|
| 9 | * @author Jo Vandermeeren |
|
| 10 | * @since Feb 16, 2006 - 10:35:58 AM |
|
| 11 | */ |
|
| 12 | public class SapListMapping { |
|
| 13 | private String name; |
|
| 14 | private String primaryKey; |
|
| 15 | ||
| 16 | 0 | public SapListMapping(String name, String primaryKey) { |
| 17 | 0 | this.name = name; |
| 18 | 0 | this.primaryKey = primaryKey; |
| 19 | 0 | } |
| 20 | ||
| 21 | public String getName() { |
|
| 22 | 0 | return name; |
| 23 | } |
|
| 24 | ||
| 25 | public String getPrimaryKey() { |
|
| 26 | 0 | return primaryKey; |
| 27 | } |
|
| 28 | } |