2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.appc.seqgen.objects;
24 import java.util.List;
27 public class CapabilityModel {
29 private List<String> vnfCapabilities;
30 private List<String> vfModuleCapabilities;
31 private Map<String, List<String>> vmCapabilities;
32 private List<String> vnfcCapabilities;
34 public CapabilityModel() {
37 public CapabilityModel( List<String> vnfCapabilities,
38 List<String> vfModuleCapabilities,
39 Map<String, List<String>> vmCapabilities,
40 List<String> vnfcCapabilities) {
42 this.vnfCapabilities = vnfCapabilities;
43 this.vfModuleCapabilities = vfModuleCapabilities;
44 this.vmCapabilities = vmCapabilities;
45 this.vnfcCapabilities = vnfcCapabilities;
47 public List<String> getVnfCapabilities() {
48 return vnfCapabilities;
50 public List<String> getVfModuleCapabilities() {
51 return vfModuleCapabilities;
53 public Map<String,List<String>> getVmCapabilities() {
54 return vmCapabilities;
56 public List<String> getVnfcCapabilities() {
57 return vnfcCapabilities;
60 public String toString() {
61 return "CapabilitiesModel = " + "vnf=" + getVnfCapabilities() +
62 "vfModule=" + getVfModuleCapabilities() +
63 "vm=" + getVmCapabilities() +
64 "vnfc=" + getVnfcCapabilities();