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
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.openecomp.sdc.be.plugins.etsi.nfv.nsd.model;
22 import java.util.ArrayList;
23 import java.util.List;
26 * Represents a Network Service Descriptor
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;
37 private String invariantId;
38 private byte[] contents;
39 private List<String> artifactReferences = new ArrayList<>();
41 public String getDesigner() {
45 public void setDesigner(String designer) {
46 this.designer = designer;
49 public String getVersion() {
53 public void setVersion(String version) {
54 this.version = version;
57 public String getName() {
61 public void setName(String name) {
65 public String getInvariantId() {
69 public void setInvariantId(String invariantId) {
70 this.invariantId = invariantId;
73 public byte[] getContents() {
77 public void setContents(byte[] contents) {
78 this.contents = contents;
81 public List<String> getArtifactReferences() {
82 return artifactReferences;
85 public void setArtifactReferences(List<String> artifactReferences) {
86 this.artifactReferences = artifactReferences;