1 16 19 20 package org.apache.pluto.portalImpl.om.page.impl; 21 22 import org.apache.pluto.portalImpl.om.page.Navigation; 23 import org.apache.pluto.util.StringUtils; 24 25 public class NavigationImpl implements Navigation, java.io.Serializable { 26 27 private String title; 28 private String description; 29 30 public NavigationImpl() 31 { 32 title = ""; 33 description = ""; 34 } 35 36 38 public String getTitle() 39 { 40 return title; 41 } 42 43 public void setTitle(String title) 44 { 45 this.title = title; 46 } 47 48 public String getDescription() 49 { 50 return description; 51 } 52 53 public void setDescription(String description) 54 { 55 this.description = description; 56 } 57 58 60 public String toString() 61 { 62 return toString(0); 63 } 64 65 public String toString(int indent) 66 { 67 StringBuffer buffer = new StringBuffer (50); 68 StringUtils.newLine(buffer,indent); 69 buffer.append(getClass().toString()); 70 buffer.append(": title='"); 71 buffer.append(title); 72 buffer.append("', description='"); 73 buffer.append(description); 74 buffer.append("'"); 75 return buffer.toString(); 76 } 77 } 78 | Popular Tags |