X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ECOMP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fpolicy%2Frest%2Fjpa%2FMicroServiceModels.java;h=c1eb24058bb08161dc643f95d6b796dae19dc32a;hb=e0addf5b588a1244f9679becd90999dfcb4c3a94;hp=ca7460640fdda21fa128997cbc8c8596ffb8278e;hpb=91d04c64771832a0b8815ffbe1f0f9920320d94d;p=policy%2Fengine.git diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/MicroServiceModels.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/MicroServiceModels.java index ca7460640..c1eb24058 100644 --- a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/MicroServiceModels.java +++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/MicroServiceModels.java @@ -31,7 +31,6 @@ package org.openecomp.policy.rest.jpa; import java.io.Serializable; -import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; @@ -48,10 +47,6 @@ import javax.persistence.Table; * * @version: 0.1 */ -import javax.persistence.Temporal; -import javax.persistence.TemporalType; - -import org.openecomp.policy.rest.jpa.UserInfo; @Entity @@ -87,6 +82,12 @@ public class MicroServiceModels implements Serializable{ @Column (name="version", nullable=false, length=2000) private String version; + @Column (name="enumValues", nullable=false, length=2000) + private String enumValues; + + @Column (name="annotation", nullable=false, length=2000) + private String annotation; + public String getSub_attributes() { return sub_attributes; } @@ -169,4 +170,20 @@ public class MicroServiceModels implements Serializable{ public void setModelName(String modelName){ this.modelName = modelName; } + + public String getEnumValues() { + return enumValues; + } + + public void setEnumValues(String enumValues) { + this.enumValues = enumValues; + } + + public String getAnnotation() { + return annotation; + } + + public void setAnnotation(String annotation) { + this.annotation = annotation; + } }