diff options
Diffstat (limited to 'common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java')
-rw-r--r-- | common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java index e6c1469233..57fe56412c 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/SchemaDefinition.java @@ -22,21 +22,14 @@ package org.openecomp.sdc.be.datatypes.elements; import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition; -import java.io.Serializable; -import java.util.HashMap; import java.util.List; import java.util.Map; /** * Schema allows to create new types that can be used along TOSCA definitions. */ -public class SchemaDefinition extends ToscaDataDefinition implements Serializable { +public class SchemaDefinition extends ToscaDataDefinition { - /** - * - */ - private static final long serialVersionUID = 7117891081909380577L; - private String derivedFrom; private List<String> constraints; private Map<String, PropertyDataDefinition> properties; @@ -46,14 +39,10 @@ public class SchemaDefinition extends ToscaDataDefinition implements Serializabl public SchemaDefinition() { - super(); - properties = new HashMap<>(); } public SchemaDefinition(String derivedFrom, List<String> constraints, Map<String, PropertyDataDefinition> properties) { - super(); - this.setDerivedFrom(derivedFrom); this.setConstraints( constraints); this.setProperties( properties); |