1 24 package org.riotfamily.components; 25 26 import java.util.Date ; 27 import java.util.List ; 28 29 35 public class ComponentList { 36 37 private Long id; 38 39 private Location location; 40 41 private List liveContainers; 42 43 private List previewContainers; 44 45 private boolean dirty; 46 47 private Date lastModified; 48 49 private String lastModifiedBy; 50 51 private VersionContainer parent; 52 53 public Long getId() { 54 return this.id; 55 } 56 57 public void setId(Long id) { 58 this.id = id; 59 } 60 61 public List getLiveContainers() { 62 return this.liveContainers; 63 } 64 65 public void setLiveContainers(List list) { 66 this.liveContainers = list; 67 } 68 69 public Location getLocation() { 70 return this.location; 71 } 72 73 public void setLocation(Location location) { 74 this.location = location; 75 } 76 77 public VersionContainer getParent() { 78 return this.parent; 79 } 80 81 public void setParent(VersionContainer parent) { 82 this.parent = parent; 83 } 84 85 public List getPreviewContainers() { 86 return this.previewContainers; 87 } 88 89 public void setPreviewContainers(List list) { 90 this.previewContainers = list; 91 } 92 93 98 public boolean isDirty() { 99 return this.dirty; 100 } 101 102 public void setDirty(boolean dirty) { 103 this.dirty = dirty; 104 } 105 106 110 public Date getLastModified() { 111 return this.lastModified; 112 } 113 114 118 public void setLastModified(Date lastModified) { 119 this.lastModified = lastModified; 120 } 121 122 126 public String getLastModifiedBy() { 127 return this.lastModifiedBy; 128 } 129 130 134 public void setLastModifiedBy(String lastModifiedBy) { 135 this.lastModifiedBy = lastModifiedBy; 136 } 137 138 public String toString() { 139 StringBuffer sb = new StringBuffer (); 140 sb.append("ComponentList "); 141 sb.append(location); 142 sb.append(" (").append(id).append(')'); 143 return sb.toString(); 144 } 145 146 } 147 | Popular Tags |