1 19 20 package za.org.coefficient.core; 21 22 23 28 public class ProjectVersion implements java.io.Serializable { 29 31 private String versionId; 32 private Long id; 33 private String description; 34 private String name; 35 private long version; 36 37 39 public ProjectVersion() {} 40 41 43 public void setDescription(String description) { 44 this.description = description; 45 } 46 47 52 public String getDescription() { 53 return description; 54 } 55 56 61 public void setId(Long argId) { 62 this.id = argId; 63 } 64 65 72 public Long getId() { 73 return this.id; 74 } 75 76 public void setName(String name) { 77 this.name = name; 78 } 79 80 84 public String getName() { 85 return name; 86 } 87 88 93 public void setVersion(long version) { 94 this.version = version; 95 } 96 97 105 public long getVersion() { 106 return this.version; 107 } 108 109 public void setVersionId(String versionId) { 110 this.versionId = versionId; 111 } 112 113 117 public String getVersionId() { 118 return versionId; 119 } 120 121 public boolean equals(Object other) { 122 ProjectVersion o = (ProjectVersion) other; 123 124 return (this != null) && (o != null) 125 && ((this.id == null && o.id == null) || this.id.equals(o.id)); 126 } 127 128 129 } 130 | Popular Tags |