1 package org.emau.icmvc.ganimed.ttp.cm2.dto;
38 import java.io.Serializable;
48 private static final long serialVersionUID = -98288145960857096L;
50 private String comment;
51 private String externProperties;
64 this.comment = comment;
65 this.externProperties = externProperties;
78 public String getComment() {
82 public void setComment(String comment) {
83 this.comment = comment;
86 public String getExternProperties() {
87 return externProperties;
90 public void setExternProperties(String externProperties) {
91 this.externProperties = externProperties;
95 public int hashCode() {
98 result = prime * result + ((comment == null) ? 0 : comment.hashCode());
99 result = prime * result + ((externProperties == null) ? 0 : externProperties.hashCode());
100 result = prime * result + ((key == null) ? 0 : key.hashCode());
105 public boolean equals(Object obj) {
110 if (getClass() != obj.getClass())
113 if (comment == null) {
114 if (other.comment != null)
116 }
else if (!comment.equals(other.comment))
118 if (externProperties == null) {
119 if (other.externProperties != null)
121 }
else if (!externProperties.equals(other.externProperties))
124 if (other.key != null)
126 }
else if (!key.equals(other.key))
132 public String toString() {
133 return (key == null) ?
"POLICY DTO WITH NULL AS KEY" : key.toString();
eine policy ist die kleinstmoegliche unterteilung eines consents; sie repraesentiert eine atomare...