diff options
Diffstat (limited to 'common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/AnnotationTypeDataDefinition.java')
-rw-r--r-- | common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/AnnotationTypeDataDefinition.java | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/AnnotationTypeDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/AnnotationTypeDataDefinition.java new file mode 100644 index 0000000000..81dfc13011 --- /dev/null +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/AnnotationTypeDataDefinition.java @@ -0,0 +1,96 @@ +package org.openecomp.sdc.be.datatypes.elements; + +import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition; + +public class AnnotationTypeDataDefinition extends ToscaDataDefinition { + + protected String uniqueId; + protected String type; + protected String description; + + protected Long creationTime; + protected Long modificationTime; + + protected String version; + protected boolean highestVersion; + + public AnnotationTypeDataDefinition() {} + + public AnnotationTypeDataDefinition(AnnotationTypeDataDefinition other) { + uniqueId = other.uniqueId; + type = other.type; + version = other.version; + description = other.description; + creationTime = other.creationTime; + modificationTime = other.modificationTime; + highestVersion = other.highestVersion; + } + + public String getUniqueId() { + return uniqueId; + } + + public void setUniqueId(String uniqueId) { + this.uniqueId = uniqueId; + } + + @Override + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Long getCreationTime() { + return creationTime; + } + + public void setCreationTime(Long creationTime) { + this.creationTime = creationTime; + } + + public Long getModificationTime() { + return modificationTime; + } + + public void setModificationTime(Long modificationTime) { + this.modificationTime = modificationTime; + } + + @Override + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public boolean isHighestVersion() { + return highestVersion; + } + + public void setHighestVersion(boolean highestVersion) { + this.highestVersion = highestVersion; + } + + @Override + public String toString() { + return getClass().getName() + ": [uniqueId=" + uniqueId + ", type=" + getType() + + ", version=" + version + ", highestVersion=" + highestVersion + + ", description=" + description + + ", creationTime=" + creationTime + ", modificationTime=" + modificationTime + "]"; + } + + +} |