View Javadoc
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      public SapListMapping(String name, String primaryKey) {
17          this.name = name;
18          this.primaryKey = primaryKey;
19      }
20  
21      public String getName() {
22          return name;
23      }
24  
25      public String getPrimaryKey() {
26          return primaryKey;
27      }
28  }