1 24 package org.riotfamily.pages; 25 26 34 public class PageAlias { 35 36 private Page page; 37 38 private PageLocation location; 39 40 public PageAlias() { 41 } 42 43 public PageAlias(Page page, PageLocation location) { 44 this.page = page; 45 this.location = location; 46 } 47 48 public PageLocation getLocation() { 49 return this.location; 50 } 51 52 public void setLocation(PageLocation location) { 53 this.location = location; 54 } 55 56 public Page getPage() { 57 return this.page; 58 } 59 60 public void setPage(Page page) { 61 this.page = page; 62 } 63 64 public String toString() { 65 return "PageAlias[" + page + " --> " + location + "]"; 66 } 67 68 } 69 | Popular Tags |