Sync Integ to Master
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / datamodel / ServiceRelations.java
1 package org.openecomp.sdc.be.datamodel;
2
3 import java.io.Serializable;
4 import java.util.Set;
5
6 public class ServiceRelations extends java.util.HashSet<NameIdPairWrapper> implements Serializable {
7
8
9
10     public ServiceRelations() {
11     }
12
13     public ServiceRelations(Set<NameIdPairWrapper> relations) {
14         super();
15         addAll(relations);
16     }
17
18     public Set<NameIdPairWrapper> getRelations() {
19         return this;
20     }
21
22     public void setRelations(Set<NameIdPairWrapper> relations) {
23         clear();
24         this.addAll(relations);
25     }
26
27
28
29 }