1 5 package org.exoplatform.services.portal.model; 6 7 12 public class PageReference { 13 private String type; 14 private boolean visible; 15 private String pageReference; 16 17 public PageReference() { 18 visible = true ; 19 type = "text/xhtml" ; 20 } 21 22 public PageReference(PageReference pref) { 23 type = pref.getType() ; 24 visible = pref.isVisible() ; 25 pageReference = pref.getPageReference() ; 26 } 27 28 public String getPageReference() { 29 return pageReference; 30 } 31 32 public void setPageReference(String pageReference) { 33 this.pageReference = pageReference; 34 } 35 36 public String getType() { 37 return type; 38 } 39 40 public void setType(String type) { 41 this.type = type; 42 } 43 44 public boolean isVisible() { 45 return visible; 46 } 47 48 public void setVisible(boolean visibility) { 49 this.visible = visibility; 50 } 51 } | Popular Tags |