[Yanel-commits] rev 33171 - public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/security/gwt/accesspolicyeditor/client

michi at wyona.com michi at wyona.com
Mon Mar 10 15:06:58 CET 2008


Author: michi
Date: 2008-03-10 15:06:57 +0100 (Mon, 10 Mar 2008)
New Revision: 33171

Added:
   public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/security/gwt/accesspolicyeditor/client/Right.java
Log:
right class added

Added: public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/security/gwt/accesspolicyeditor/client/Right.java
===================================================================
--- public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/security/gwt/accesspolicyeditor/client/Right.java	                        (rev 0)
+++ public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/security/gwt/accesspolicyeditor/client/Right.java	2008-03-10 14:06:57 UTC (rev 33171)
@@ -0,0 +1,47 @@
+/*
+ * Copyright 2008 Wyona
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package org.wyona.security.gwt.accesspolicyeditor.client;
+
+/**
+ *
+ */
+public class Right {
+
+    private String id;
+    private boolean permission;
+
+    /**
+     *
+     */
+    public Right(String id, boolean permission) {
+        this.id = id;
+        this.permission = permission;
+    }
+
+    /**
+     *
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     *
+     */
+    public boolean getPermission() {
+        return permission;
+    }
+}



More information about the Yanel-commits mailing list