001/* 002 * (C) Copyright 2006-2008 Nuxeo SAS (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Alexandre Russel 016 * 017 * $Id$ 018 */ 019 020package org.nuxeo.ecm.platform.annotations.descriptors; 021 022import org.nuxeo.common.xmap.annotation.XNode; 023import org.nuxeo.common.xmap.annotation.XObject; 024 025/** 026 * @author <a href="mailto:arussel@nuxeo.com">Alexandre Russel</a> 027 */ 028@XObject("permissionMapper") 029public class PermissionMapperDescriptor { 030 031 @XNode("readAnnotation") 032 private String readAnnotationValue; 033 034 @XNode("createAnnotation") 035 private String createAnnotationValue; 036 037 @XNode("updateAnnotation") 038 private String updateAnnotationValue; 039 040 @XNode("deleteAnnotation") 041 private String deleteAnnotationValue; 042 043 public String getReadAnnotationValue() { 044 return readAnnotationValue; 045 } 046 047 public void setReadAnnotationValue(String readAnnotationValue) { 048 this.readAnnotationValue = readAnnotationValue; 049 } 050 051 public String getCreateAnnotationValue() { 052 return createAnnotationValue; 053 } 054 055 public void setCreateAnnotationValue(String createAnnotationValue) { 056 this.createAnnotationValue = createAnnotationValue; 057 } 058 059 public String getUpdateAnnotationValue() { 060 return updateAnnotationValue; 061 } 062 063 public void setUpdateAnnotationValue(String updateAnnotationValue) { 064 this.updateAnnotationValue = updateAnnotationValue; 065 } 066 067 public String getDeleteAnnotationValue() { 068 return deleteAnnotationValue; 069 } 070 071 public void setDeleteAnnotationValue(String deleteAnnotationValue) { 072 this.deleteAnnotationValue = deleteAnnotationValue; 073 } 074 075}