Reformat catalog-be-plugins
[sdc.git] / catalog-be-plugins / etsi-nfv-nsd-csar-plugin / src / main / java / org / openecomp / sdc / be / plugins / etsi / nfv / nsd / model / Nsd.java
1  
2 /*
3  * ============LICENSE_START=======================================================
4  *  Copyright (C) 2020 Nordix Foundation
5  *  ================================================================================
6  *  Licensed under the Apache License, Version 2.0 (the "License");
7  *  you may not use this file except in compliance with the License.
8  *  You may obtain a copy of the License at
9  *
10  *        http://www.apache.org/licenses/LICENSE-2.0
11  *  Unless required by applicable law or agreed to in writing, software
12  *  distributed under the License is distributed on an "AS IS" BASIS,
13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *  See the License for the specific language governing permissions and
15  *  limitations under the License.
16  *
17  *  SPDX-License-Identifier: Apache-2.0
18  *  ============LICENSE_END=========================================================
19  */
20 package org.openecomp.sdc.be.plugins.etsi.nfv.nsd.model;
21
22 import java.util.ArrayList;
23 import java.util.List;
24
25 /**
26  * Represents a Network Service Descriptor
27  */
28 public class Nsd {
29
30     public static final String DESIGNER_PROPERTY = "designer";
31     public static final String VERSION_PROPERTY = "version";
32     public static final String NAME_PROPERTY = "name";
33     public static final String INVARIANT_ID_PROPERTY = "invariant_id";
34     private String designer;
35     private String version;
36     private String name;
37     private String invariantId;
38     private byte[] contents;
39     private List<String> artifactReferences = new ArrayList<>();
40
41     public String getDesigner() {
42         return designer;
43     }
44
45     public void setDesigner(String designer) {
46         this.designer = designer;
47     }
48
49     public String getVersion() {
50         return version;
51     }
52
53     public void setVersion(String version) {
54         this.version = version;
55     }
56
57     public String getName() {
58         return name;
59     }
60
61     public void setName(String name) {
62         this.name = name;
63     }
64
65     public String getInvariantId() {
66         return invariantId;
67     }
68
69     public void setInvariantId(String invariantId) {
70         this.invariantId = invariantId;
71     }
72
73     public byte[] getContents() {
74         return contents;
75     }
76
77     public void setContents(byte[] contents) {
78         this.contents = contents;
79     }
80
81     public List<String> getArtifactReferences() {
82         return artifactReferences;
83     }
84
85     public void setArtifactReferences(List<String> artifactReferences) {
86         this.artifactReferences = artifactReferences;
87     }
88 }