001/*
002 * (C) Copyright 2009-2012 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 *    Mariana Cedica
016 */
017package org.nuxeo.ecm.platform.routing.api;
018
019import java.net.URL;
020
021import org.nuxeo.common.xmap.annotation.XNode;
022import org.nuxeo.common.xmap.annotation.XObject;
023
024/**
025 * @since 5.6
026 */
027@XObject("template-resource")
028public class RouteModelResourceType {
029
030    @XNode("@id")
031    protected String id;
032
033    @XNode("@path")
034    protected String path;
035
036    protected URL url;
037
038    public String getPath() {
039        return path;
040    }
041
042    public String getId() {
043        return id;
044    }
045
046    public URL getUrl() {
047        return url;
048    }
049
050    public void setUrl(URL url) {
051        this.url = url;
052    }
053
054    public void setId(String id) {
055        this.id = id;
056    }
057
058    public void setPath(String path) {
059        this.path = path;
060    }
061
062}