1 19 20 package za.org.coefficient.modules.fileUpload; 21 22 23 31 34 import za.org.coefficient.authentication.CoefficientUser; 35 import za.org.coefficient.authentication.Role; 36 37 41 public abstract class ProjectEntity implements java.io.Serializable { 42 44 protected CoefficientUser coefficientUser; protected Long ID; 46 protected ProjectFolder parentFolder; 47 protected Role maxReadRole; 48 protected Role maxWriteRole; 49 protected String name; 50 protected String userComment; 51 protected long version; 52 53 55 public ProjectEntity() { 56 } 57 58 60 public void setID(Long ID) { 61 this.ID = ID; 62 } 63 64 68 public Long getID() { 69 return ID; 70 } 71 72 public void setMaxReadRole(Role maxReadRole) { 73 this.maxReadRole = maxReadRole; 74 } 75 76 81 public Role getMaxReadRole() { 82 return maxReadRole; 83 } 84 85 public void setMaxWriteRole(Role maxWriteRole) { 86 this.maxWriteRole = maxWriteRole; 87 } 88 89 94 public Role getMaxWriteRole() { 95 return maxWriteRole; 96 } 97 98 public void setName(String name) { 99 this.name = name; 100 } 101 102 106 public String getName() { 107 return name; 108 } 109 110 public void setParentFolder(ProjectFolder parentFolder) { 111 this.parentFolder = parentFolder; 112 } 113 114 119 public ProjectFolder getParentFolder() { 120 return parentFolder; 121 } 122 123 public void setCoefficientUser(CoefficientUser coefficientUser) { 124 this.coefficientUser = coefficientUser; 125 } 126 127 132 public CoefficientUser getCoefficientUser() { 133 return coefficientUser; 134 } 135 136 public void setUserComment(String userComment) { 137 this.userComment = userComment; 138 } 139 140 145 public String getUserComment() { 146 return userComment; 147 } 148 149 public void setVersion(long version) { 150 this.version = version; 151 } 152 153 158 public long getVersion() { 159 return this.version; 160 } 161 } 162 | Popular Tags |