001/*
002 * Stallion Core: A Modern Web Framework
003 *
004 * Copyright (C) 2015 - 2016 Stallion Software LLC.
005 *
006 * This program is free software: you can redistribute it and/or modify it under the terms of the
007 * GNU General Public License as published by the Free Software Foundation, either version 2 of
008 * the License, or (at your option) any later version. This program is distributed in the hope that
009 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
011 * License for more details. You should have received a copy of the GNU General Public License
012 * along with this program.  If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
013 *
014 *
015 *
016 */
017
018package io.stallion.requests;
019
020import java.util.HashMap;
021
022
023public class RouteDefinition {
024    private String route = "";
025    private String destination = "";
026    private String template = "";
027    private Boolean preempt = false;
028    private HashMap <String, String> params = new HashMap <String, String>();
029    private String name = "";
030    private String group = "";
031    private String pageTitle = "";
032    private String metaDescription = "";
033
034    public String getRoute() {
035        return route;
036    }
037
038    public void setRoute(String route) {
039        this.route = route;
040    }
041
042    public String getDestination() {
043        return destination;
044    }
045
046    public void setDestination(String destination) {
047        this.destination = destination;
048    }
049
050    public String getTemplate() {
051        return template;
052    }
053
054    public void setTemplate(String template) {
055        this.template = template;
056    }
057
058    public Boolean getPreempt() {
059        return preempt;
060    }
061
062    public void setPreempt(Boolean preempt) {
063        this.preempt = preempt;
064    }
065
066    public HashMap<String, String> getParams() {
067        return params;
068    }
069
070    public void setParams(HashMap<String, String> params) {
071        this.params = params;
072    }
073
074    public String getName() {
075        return name;
076    }
077
078    public void setName(String name) {
079        this.name = name;
080    }
081
082    public String getGroup() {
083        return group;
084    }
085
086    public void setGroup(String group) {
087        this.group = group;
088    }
089
090    public String getPageTitle() {
091        return pageTitle;
092    }
093
094    public void setPageTitle(String pageTitle) {
095        this.pageTitle = pageTitle;
096    }
097
098    public String getMetaDescription() {
099        return metaDescription;
100    }
101
102    public void setMetaDescription(String metaDescription) {
103        this.metaDescription = metaDescription;
104    }
105}