Service Consumption BE
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / ui / model / UiResourceDataTransfer.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.openecomp.sdc.be.ui.model;
22
23 import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
24 import org.openecomp.sdc.be.model.InterfaceDefinition;
25 import org.openecomp.sdc.be.model.PropertyDefinition;
26
27 import java.util.List;
28 import java.util.Map;
29
30 public class UiResourceDataTransfer extends UiComponentDataTransfer{
31
32     private UiResourceMetadata metadata;
33
34     private List<String> derivedFrom;
35
36     private List<String> derivedList;
37
38     private List<PropertyDefinition> properties;
39
40     private List<PropertyDefinition> attributes;
41
42     private Map<String, InterfaceDefinition> interfaces;
43
44     private List<String> defaultCapabilities;
45
46
47     public UiResourceDataTransfer(){}
48
49     public List<AdditionalInformationDefinition> getAdditionalInformation() {
50         return additionalInformation;
51     }
52
53     public void setAdditionalInformation(List<AdditionalInformationDefinition> additionalInformation) {
54         this.additionalInformation = additionalInformation;
55     }
56
57     public UiResourceMetadata getMetadata() {
58         return metadata;
59     }
60
61     public void setMetadata(UiResourceMetadata metadata) {
62         this.metadata = metadata;
63     }
64
65     public List<String> getDerivedFrom() {
66         return derivedFrom;
67     }
68
69     public void setDerivedFrom(List<String> derivedFrom) {
70         this.derivedFrom = derivedFrom;
71     }
72
73     public List<String> getDerivedList() {
74         return derivedList;
75     }
76
77     public void setDerivedList(List<String> derivedList) {
78         this.derivedList = derivedList;
79     }
80
81     public List<PropertyDefinition> getProperties() {
82         return properties;
83     }
84
85     public void setProperties(List<PropertyDefinition> properties) {
86         this.properties = properties;
87     }
88
89     public List<PropertyDefinition> getAttributes() {
90         return attributes;
91     }
92
93     public void setAttributes(List<PropertyDefinition> attributes) {
94         this.attributes = attributes;
95     }
96
97     public Map<String, InterfaceDefinition> getInterfaces() {
98         return interfaces;
99     }
100
101     public void setInterfaces(Map<String, InterfaceDefinition> interfaces) {
102         this.interfaces = interfaces;
103     }
104
105     public List<String> getDefaultCapabilities() {
106         return defaultCapabilities;
107     }
108
109     public void setDefaultCapabilities(List<String> defaultCapabilities) {
110         this.defaultCapabilities = defaultCapabilities;
111     }
112 }