001/* 002 * (C) Copyright 2013 Nuxeo SA (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-2.1.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 * Antoine Taillefer <ataillefer@nuxeo.com> 016 */ 017package org.nuxeo.drive.service.impl; 018 019import java.io.Serializable; 020 021import org.nuxeo.common.xmap.annotation.XNode; 022import org.nuxeo.common.xmap.annotation.XObject; 023import org.nuxeo.drive.service.FileSystemItemAdapterService; 024 025/** 026 * XMap descriptor for the {@code activeTopLevelFolderItemFactory} contributions to the 027 * {@code activeFileSystemItemFactories} extension point of the {@link FileSystemItemAdapterService}. 028 * 029 * @author Antoine Taillefer 030 */ 031@XObject("activeTopLevelFolderItemFactory") 032public class ActiveTopLevelFolderItemFactoryDescriptor implements Serializable { 033 034 private static final long serialVersionUID = -1033445032142441572L; 035 036 @XNode("") 037 protected String name; 038 039 public String getName() { 040 return name; 041 } 042 043 public void setName(String name) { 044 this.name = name; 045 } 046 047 @Override 048 public String toString() { 049 return name; 050 } 051 052}