*/
package org.sonar.api.database.model;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
import org.sonar.api.database.BaseIdentifiable;
import javax.persistence.*;
public void setSnapshotId(Integer snapshotId) {
this.snapshotId = snapshotId;
}
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
+ .append("snapshotId", snapshotId)
+ .append("mesasure", measure)
+ .append("data", data)
+ .toString();
+ }
}