aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/datamodel/ServiceRelations.java
blob: d05ddafed98a3603684e7f916a85e9c4f9e3fc64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
    }



}