001/*
002 * (C) Copyright 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
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 *     Thomas Roger <troger@nuxeo.com>
016 */
017
018package org.nuxeo.ecm.activity;
019
020import org.nuxeo.common.xmap.annotation.XNode;
021import org.nuxeo.common.xmap.annotation.XObject;
022
023/**
024 * Descriptor object for registering a mapping between an Activity verb and a label key.
025 *
026 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a>
027 * @since 5.5
028 * @deprecated since 5.6. See {@link ActivityVerb}.
029 */
030@Deprecated
031@XObject("activityMessageLabel")
032public class ActivityMessageLabelDescriptor {
033
034    @XNode("@activityVerb")
035    protected String activityVerb;
036
037    @XNode("@labelKey")
038    protected String labelKey;
039
040    public ActivityMessageLabelDescriptor() {
041    }
042
043    public String getActivityVerb() {
044        return activityVerb;
045    }
046
047    public String getLabelKey() {
048        return labelKey;
049    }
050
051}