001/*
002 * (C) Copyright 2010 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.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 */
017package org.nuxeo.ecm.platform.routing.core.impl;
018
019import org.nuxeo.common.xmap.annotation.XNode;
020import org.nuxeo.common.xmap.annotation.XObject;
021
022/**
023 * @author <a href="mailto:arussel@nuxeo.com">Alexandre Russel</a>
024 * @deprecated since 5.9.2 - Use only routes of type 'graph'
025 */
026@Deprecated
027@XObject("mapping")
028public class ChainToTypeMappingDescriptor {
029    @XNode("@documentType")
030    protected String documentType;
031
032    @XNode("@chainId")
033    protected String chainId;
034
035    @XNode("@undoChainIdFromRunning")
036    protected String undoChainIdFromRunning;
037
038    @XNode("@undoChainIdFromDone")
039    protected String undoChainIdFromDone;
040
041    public String getDocumentType() {
042        return documentType;
043    }
044
045    public String getChainId() {
046        return chainId;
047    }
048
049    public String getUndoChainIdFromRunning() {
050        return undoChainIdFromRunning;
051    }
052
053    public String getUndoChainIdFromDone() {
054        return undoChainIdFromDone;
055    }
056}