1 20 package org.openi.project; 21 22 import java.util.LinkedList ; 23 import java.util.List ; 24 25 import org.apache.log4j.Logger; 26 27 30 public class Overview { 31 private static Logger logger = org.apache.log4j.Logger.getLogger(Overview.class); 32 private String description; 33 private List links; 34 private int columns = 2; 35 private int thumbnailWidth = 320; 36 private int thumbnailHeight = 240; 37 38 41 public Overview() { 42 super(); 43 this.links = new LinkedList (); 44 } 45 46 public String getDescription() { 47 return description; 48 } 49 public void setDescription(String description) { 50 this.description = description; 51 } 52 public List getLinks() { 53 return links; 54 } 55 public void setLinks(List links) { 56 this.links = links; 57 } 58 public void addLink(String link) { 59 this.links.add(link); 60 } 61 public void removeLink(String link) { 62 this.links.remove(link); 63 } 64 65 public int getColumns() { 66 return columns; 67 } 68 69 public void setColumns(int columns) { 70 this.columns = columns; 71 } 72 73 public int getThumbnailHeight() { 74 return thumbnailHeight; 75 } 76 77 public void setThumbnailHeight(int thumbnailHeight) { 78 this.thumbnailHeight = thumbnailHeight; 79 } 80 81 public int getThumbnailWidth() { 82 return thumbnailWidth; 83 } 84 85 public void setThumbnailWidth(int thumbnailWidth) { 86 this.thumbnailWidth = thumbnailWidth; 87 } 88 } 89 | Popular Tags |