Salome HOME
- Sequences start at 1000 now
[modules/gde.git] / projects / GDE_App / GDE-ejb / src / java / com / edf / gde / entities / GroupPermission.java
index 45518be030d1ff64c801f93a0b8d2ad56226e1b6..bf7f158c024304e0a3bd283674b7f55d8dbf0a3a 100644 (file)
@@ -42,8 +42,8 @@ public class GroupPermission implements Serializable {
     long groupId;
     @Column(name="serviceName")
     String serviceName;
-    @Column(name="methodName")
-    String methodName;
+    @Column(name="methodIndex")
+    int methodIndex;
 
     public GroupPermission() {
     }
@@ -72,13 +72,11 @@ public class GroupPermission implements Serializable {
         this.serviceName = serviceName;
     }
 
-    public String getMethodName() {
-        return methodName;
+    public int getMethodIndex() {
+        return methodIndex;
     }
 
-    public void setMethodName(String methodName) {
-        this.methodName = methodName;
+    public void setMethodIndex(int methodIndex) {
+        this.methodIndex = methodIndex;
     }
-   
-
 }