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.PropertyDefinition;
26 import java.util.List;
28 public class UiResourceDataTransfer extends UiComponentDataTransfer{
30 private UiResourceMetadata metadata;
32 private List<String> derivedFrom;
34 private List<String> derivedList;
36 private List<PropertyDefinition> properties;
38 private List<PropertyDefinition> attributes;
41 private List<String> defaultCapabilities;
44 public UiResourceDataTransfer(){}
46 public List<AdditionalInformationDefinition> getAdditionalInformation() {
47 return additionalInformation;
50 public void setAdditionalInformation(List<AdditionalInformationDefinition> additionalInformation) {
51 this.additionalInformation = additionalInformation;
54 public UiResourceMetadata getMetadata() {
58 public void setMetadata(UiResourceMetadata metadata) {
59 this.metadata = metadata;
62 public List<String> getDerivedFrom() {
66 public void setDerivedFrom(List<String> derivedFrom) {
67 this.derivedFrom = derivedFrom;
70 public List<String> getDerivedList() {
74 public void setDerivedList(List<String> derivedList) {
75 this.derivedList = derivedList;
78 public List<PropertyDefinition> getProperties() {
82 public void setProperties(List<PropertyDefinition> properties) {
83 this.properties = properties;
86 public List<PropertyDefinition> getAttributes() {
90 public void setAttributes(List<PropertyDefinition> attributes) {
91 this.attributes = attributes;
94 public List<String> getDefaultCapabilities() {
95 return defaultCapabilities;
98 public void setDefaultCapabilities(List<String> defaultCapabilities) {
99 this.defaultCapabilities = defaultCapabilities;