View Javadoc

1   /*
2    * Copyright 2008 ATG Import Service Project
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package atg.adapter.gsa.xml;
18  
19  import java.util.HashMap;
20  
21  public class ImportItem
22  {
23    public static final int M_ACTION_ADD = 0;
24    public static final int M_ACTION_UPDATE = 1;
25    public static final int M_ACTION_DELETE = 2;
26    
27    private int mAction;
28    
29    public int getAction ()
30    {
31      return (mAction);  
32    }
33    
34    public void setAction (int pAction)
35    {
36      mAction = pAction;
37    }
38    
39    private String mItemDescriptor = null;
40    
41    public String getItemDescriptor ()
42    {
43      return (mItemDescriptor);  
44    }
45    
46    public void setItemDescriptor (String pItemDescriptor)
47    {
48      mItemDescriptor = pItemDescriptor;
49    }
50    
51    private String mItemId = null;
52  
53    public String getItemId ()
54    {
55      return (mItemId);  
56    }
57    
58    public void setItemId (String pItemId)
59    {
60      mItemId = pItemId;
61    }
62  
63    private String mRepositoryName = null;
64  
65    public String getRepositoryName ()
66    {
67      return (mRepositoryName);  
68    }
69    
70    public void setRepositoryName (String pRepositoryName)
71    {
72      mRepositoryName = pRepositoryName;
73    }
74  
75    private HashMap<String, String> mProperties;
76  
77    public HashMap<String, String> getProperties ()
78    {
79      return (mProperties);  
80    }
81    
82    public void setProperties (HashMap<String, String> pProperties)
83    {
84      mProperties = pProperties;
85    }
86  
87    public ImportItem ()
88    {
89    }
90  }