2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.be.ui.model;
23 import org.openecomp.sdc.be.datatypes.elements.InterfaceOperationDataDefinition;
24 import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
25 import org.openecomp.sdc.be.model.InterfaceDefinition;
26 import org.openecomp.sdc.be.model.PropertyDefinition;
28 import java.util.List;
31 public class UiResourceDataTransfer extends UiComponentDataTransfer{
33 private UiResourceMetadata metadata;
35 private List<String> derivedFrom;
37 private List<String> derivedList;
39 private List<PropertyDefinition> properties;
41 private List<PropertyDefinition> attributes;
43 private Map<String, InterfaceDefinition> interfaces;
45 private List<String> defaultCapabilities;
47 private Map<String, InterfaceOperationDataDefinition> interfaceOperations;
49 public UiResourceDataTransfer(){}
51 public List<AdditionalInformationDefinition> getAdditionalInformation() {
52 return additionalInformation;
55 public void setAdditionalInformation(List<AdditionalInformationDefinition> additionalInformation) {
56 this.additionalInformation = additionalInformation;
59 public UiResourceMetadata getMetadata() {
63 public void setMetadata(UiResourceMetadata metadata) {
64 this.metadata = metadata;
67 public List<String> getDerivedFrom() {
71 public void setDerivedFrom(List<String> derivedFrom) {
72 this.derivedFrom = derivedFrom;
75 public List<String> getDerivedList() {
79 public void setDerivedList(List<String> derivedList) {
80 this.derivedList = derivedList;
83 public List<PropertyDefinition> getProperties() {
87 public void setProperties(List<PropertyDefinition> properties) {
88 this.properties = properties;
91 public List<PropertyDefinition> getAttributes() {
95 public void setAttributes(List<PropertyDefinition> attributes) {
96 this.attributes = attributes;
99 public Map<String, InterfaceDefinition> getInterfaces() {
103 public void setInterfaces(Map<String, InterfaceDefinition> interfaces) {
104 this.interfaces = interfaces;
107 public List<String> getDefaultCapabilities() {
108 return defaultCapabilities;
111 public void setDefaultCapabilities(List<String> defaultCapabilities) {
112 this.defaultCapabilities = defaultCapabilities;
114 public Map<String, InterfaceOperationDataDefinition> getInterfaceOperations() {
115 return interfaceOperations;
118 public void setInterfaceOperations(Map<String, InterfaceOperationDataDefinition> interfaceOperations) {
119 this.interfaceOperations = interfaceOperations;