2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2018 Ericsson. All rights reserved.
4 * Copyright (C) 2019 Intel. All rights reserved.
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
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
18 * SPDX-License-Identifier: Apache-2.0
19 * ============LICENSE_END=========================================================
22 package org.onap.policy.distribution.model;
24 import java.util.List;
29 * Represents a VfModuleModel that a {@link Policy} can be decoded from.
32 @SuppressWarnings("unchecked")
33 public class VfModuleModel {
35 private String vfModuleModelName;
36 private String vfModuleModelInvariantUUID;
37 private String vfModuleModelVersion;
38 private String vfModuleModelUUID;
39 private String vfModuleModelCustomizationUUID;
40 private String vfModuleModelDescription;
41 private Boolean isBase;
42 private List<String> artifacts;
43 private Map<String, Object> properties;
45 public String getVfModuleModelName() {
46 return vfModuleModelName;
49 public String getVfModuleModelVersion() {
50 return vfModuleModelVersion;
53 public String getVfModuleModelInvariantUUID() {
54 return vfModuleModelInvariantUUID;
57 public String getVfModuleModelUUID() {
58 return vfModuleModelUUID;
61 public String getVfModuleModelCustomizationUUID() {
62 return vfModuleModelCustomizationUUID;
65 public String getVfModuleModelDescription() {
66 return vfModuleModelDescription;
69 public List<String> getArtifacts() {
73 public Map<String, Object> getProperties() {