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.model.AdditionalInformationDefinition;
24 import org.openecomp.sdc.be.model.InterfaceDefinition;
25 import org.openecomp.sdc.be.model.PropertyDefinition;
27 import java.util.List;
30 public class UiResourceDataTransfer extends UiComponentDataTransfer{
32 private UiResourceMetadata metadata;
34 private List<String> derivedFrom;
36 private List<String> derivedList;
38 private List<PropertyDefinition> properties;
40 private List<PropertyDefinition> attributes;
42 private Map<String, InterfaceDefinition> interfaces;
44 private List<String> defaultCapabilities;
47 public UiResourceDataTransfer(){}
49 public List<AdditionalInformationDefinition> getAdditionalInformation() {
50 return additionalInformation;
53 public void setAdditionalInformation(List<AdditionalInformationDefinition> additionalInformation) {
54 this.additionalInformation = additionalInformation;
57 public UiResourceMetadata getMetadata() {
61 public void setMetadata(UiResourceMetadata metadata) {
62 this.metadata = metadata;
65 public List<String> getDerivedFrom() {
69 public void setDerivedFrom(List<String> derivedFrom) {
70 this.derivedFrom = derivedFrom;
73 public List<String> getDerivedList() {
77 public void setDerivedList(List<String> derivedList) {
78 this.derivedList = derivedList;
81 public List<PropertyDefinition> getProperties() {
85 public void setProperties(List<PropertyDefinition> properties) {
86 this.properties = properties;
89 public List<PropertyDefinition> getAttributes() {
93 public void setAttributes(List<PropertyDefinition> attributes) {
94 this.attributes = attributes;
97 public Map<String, InterfaceDefinition> getInterfaces() {
101 public void setInterfaces(Map<String, InterfaceDefinition> interfaces) {
102 this.interfaces = interfaces;
105 public List<String> getDefaultCapabilities() {
106 return defaultCapabilities;
109 public void setDefaultCapabilities(List<String> defaultCapabilities) {
110 this.defaultCapabilities = defaultCapabilities;