VSE: Upload modules (a model file) to a (new) dataspace
[cps.git] / cps / cps-ri / src / main / java / org / onap / cps / spi / entities / Dataspace.java
index 8f37692..627a144 100644 (file)
@@ -31,6 +31,7 @@ import lombok.Getter;
 import lombok.NoArgsConstructor;
 import lombok.Setter;
 
+
 /**
  * Entity to store a dataspace.
  */
@@ -49,4 +50,13 @@ public class Dataspace {
     @NotNull
     @Column(columnDefinition = "text")
     private String name;
-}
+
+    /**
+     * Initialize a Dataspace .
+     *
+     * @param name the Dataspace name.
+     */
+    public Dataspace(String name) {
+        this.name = name;
+    }
+}
\ No newline at end of file