001 package com.khubla.pragmatach.framework.url; 002 003 /** 004 * @author tome 005 */ 006 public class RouteSpecificationSegment { 007 /** 008 * the variable id 009 */ 010 private final String variableId; 011 /** 012 * the static path part 013 */ 014 private final String path; 015 016 /** 017 * ctor 018 */ 019 public RouteSpecificationSegment(String path, String variableId) { 020 this.variableId = variableId; 021 this.path = path; 022 } 023 024 public String getPath() { 025 return path; 026 } 027 028 public String getVariableId() { 029 return variableId; 030 } 031 }