aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java
new file mode 100644
index 0000000000..d05ddafed9
--- /dev/null
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java
@@ -0,0 +1,29 @@
+package org.openecomp.sdc.be.datamodel;
+
+import java.io.Serializable;
+import java.util.Set;
+
+public class ServiceRelations extends java.util.HashSet<NameIdPairWrapper> implements Serializable {
+
+
+
+ public ServiceRelations() {
+ }
+
+ public ServiceRelations(Set<NameIdPairWrapper> relations) {
+ super();
+ addAll(relations);
+ }
+
+ public Set<NameIdPairWrapper> getRelations() {
+ return this;
+ }
+
+ public void setRelations(Set<NameIdPairWrapper> relations) {
+ clear();
+ this.addAll(relations);
+ }
+
+
+
+}