add subplugin field support and new Cloud Artifact class
[multicloud/framework.git] / artifactbroker / model / src / main / java / org / onap / policy / distribution / model / VfModuleModel.java
1 /*-
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
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
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.
17  *
18  * SPDX-License-Identifier: Apache-2.0
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.policy.distribution.model;
23
24 import java.util.List;
25 import java.util.Map;
26
27
28 /**
29  * Represents a VfModuleModel that a {@link Policy} can be decoded from.
30  */
31
32 @SuppressWarnings("unchecked")
33 public class VfModuleModel {
34
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;
44
45     public String getVfModuleModelName() {
46         return vfModuleModelName;
47     }
48
49     public String getVfModuleModelVersion() {
50         return vfModuleModelVersion;
51     }
52
53     public String getVfModuleModelCustomizationUUID() {
54         return vfModuleModelCustomizationUUID;
55     }
56
57     public String getVfModuleModelDescription() {
58         return vfModuleModelDescription;
59     }
60
61     public List<String> getArtifacts() {
62         return artifacts;
63     }
64     
65     public Map<String, Object> getProperties() {
66         return properties;
67     }
68 }