KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jdon > model > handler > HandlerMetaDef


1 /**
2  * Copyright 2003-2006 the original author or authors.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6
7        http://www.apache.org/licenses/LICENSE-2.0
8
9   * Unless required by applicable law or agreed to in writing, software
10   * distributed under the License is distributed on an "AS IS" BASIS,
11   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   * See the License for the specific language governing permissions and
13   * limitations under the License.
14   */

15
16 package com.jdon.model.handler;
17
18 import java.util.HashMap JavaDoc;
19 import java.util.Map JavaDoc;
20
21 import com.jdon.model.config.ModelMapping;
22
23 public class HandlerMetaDef implements java.io.Serializable JavaDoc {
24
25   private String JavaDoc serviceRef;
26   private String JavaDoc findMethod;
27   private String JavaDoc createMethod;
28   private String JavaDoc updateMethod;
29   private String JavaDoc deleteMethod;
30   private String JavaDoc initMethod;
31   private Map JavaDoc methods = new HashMap JavaDoc();
32   
33   private ModelMapping modelMapping ;
34   /**
35    * ServiceMapping
36    *
37    * @param aString String
38    */

39
40   public String JavaDoc getFindMethod() {
41     return findMethod;
42   }
43
44   public String JavaDoc getServiceRef() {
45     return serviceRef;
46   }
47
48   public String JavaDoc getUpdateMethod() {
49     return updateMethod;
50   }
51
52   public String JavaDoc getDeleteMethod() {
53     return deleteMethod;
54   }
55
56   public void setCreateMethod(String JavaDoc createMethod) {
57     this.createMethod = createMethod;
58   }
59
60   public void setFindtMethod(String JavaDoc getMethod) {
61     this.findMethod = getMethod;
62   }
63
64   public void setServiceRef(String JavaDoc serviceRef) {
65     this.serviceRef = serviceRef;
66   }
67
68   public void setUpdateMethod(String JavaDoc updateMethod) {
69     this.updateMethod = updateMethod;
70   }
71
72   public void setDeleteMethod(String JavaDoc deleteMethod) {
73     this.deleteMethod = deleteMethod;
74   }
75
76   public String JavaDoc getCreateMethod() {
77     return createMethod;
78   }
79
80
81     /**
82      * @return Returns the initMethod.
83      */

84     public String JavaDoc getInitMethod() {
85         return initMethod;
86     }
87
88     /**
89      * @param initMethod
90      * The initMethod to set.
91      */

92     public void setInitMethod(String JavaDoc initMethod) {
93         this.initMethod = initMethod;
94     }
95
96     public ModelMapping getModelMapping() {
97         return modelMapping;
98     }
99
100     public void setModelMapping(ModelMapping modelMapping) {
101         this.modelMapping = modelMapping;
102     }
103     
104     
105     
106 }
107
Popular Tags