1 package org.openecomp.sdc.be.datatypes.elements;
3 import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
5 public class AnnotationTypeDataDefinition extends ToscaDataDefinition {
7 protected String uniqueId;
9 protected String description;
11 protected Long creationTime;
12 protected Long modificationTime;
14 protected String version;
15 protected boolean highestVersion;
17 public AnnotationTypeDataDefinition() {}
19 public AnnotationTypeDataDefinition(AnnotationTypeDataDefinition other) {
20 uniqueId = other.uniqueId;
22 version = other.version;
23 description = other.description;
24 creationTime = other.creationTime;
25 modificationTime = other.modificationTime;
26 highestVersion = other.highestVersion;
29 public String getUniqueId() {
33 public void setUniqueId(String uniqueId) {
34 this.uniqueId = uniqueId;
38 public String getType() {
42 public void setType(String type) {
46 public String getDescription() {
50 public void setDescription(String description) {
51 this.description = description;
54 public Long getCreationTime() {
58 public void setCreationTime(Long creationTime) {
59 this.creationTime = creationTime;
62 public Long getModificationTime() {
63 return modificationTime;
66 public void setModificationTime(Long modificationTime) {
67 this.modificationTime = modificationTime;
71 public String getVersion() {
75 public void setVersion(String version) {
76 this.version = version;
79 public boolean isHighestVersion() {
80 return highestVersion;
83 public void setHighestVersion(boolean highestVersion) {
84 this.highestVersion = highestVersion;
88 public String toString() {
89 return getClass().getName() + ": [uniqueId=" + uniqueId + ", type=" + getType()
90 + ", version=" + version + ", highestVersion=" + highestVersion
91 + ", description=" + description
92 + ", creationTime=" + creationTime + ", modificationTime=" + modificationTime + "]";