re base code
[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.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;
27
28 import java.util.List;
29 import java.util.Map;
30
31 public class UiResourceDataTransfer extends UiComponentDataTransfer{
32
33     private UiResourceMetadata metadata;
34
35     private List<String> derivedFrom;
36
37     private List<String> derivedList;
38
39     private List<PropertyDefinition> properties;
40
41     private List<PropertyDefinition> attributes;
42
43     private Map<String, InterfaceDefinition> interfaces;
44
45     private List<String> defaultCapabilities;
46
47     private Map<String, InterfaceOperationDataDefinition> interfaceOperations;
48
49     public UiResourceDataTransfer(){}
50
51     public List<AdditionalInformationDefinition> getAdditionalInformation() {
52         return additionalInformation;
53     }
54
55     public void setAdditionalInformation(List<AdditionalInformationDefinition> additionalInformation) {
56         this.additionalInformation = additionalInformation;
57     }
58
59     public UiResourceMetadata getMetadata() {
60         return metadata;
61     }
62
63     public void setMetadata(UiResourceMetadata metadata) {
64         this.metadata = metadata;
65     }
66
67     public List<String> getDerivedFrom() {
68         return derivedFrom;
69     }
70
71     public void setDerivedFrom(List<String> derivedFrom) {
72         this.derivedFrom = derivedFrom;
73     }
74
75     public List<String> getDerivedList() {
76         return derivedList;
77     }
78
79     public void setDerivedList(List<String> derivedList) {
80         this.derivedList = derivedList;
81     }
82
83     public List<PropertyDefinition> getProperties() {
84         return properties;
85     }
86
87     public void setProperties(List<PropertyDefinition> properties) {
88         this.properties = properties;
89     }
90
91     public List<PropertyDefinition> getAttributes() {
92         return attributes;
93     }
94
95     public void setAttributes(List<PropertyDefinition> attributes) {
96         this.attributes = attributes;
97     }
98
99     public Map<String, InterfaceDefinition> getInterfaces() {
100         return interfaces;
101     }
102
103     public void setInterfaces(Map<String, InterfaceDefinition> interfaces) {
104         this.interfaces = interfaces;
105     }
106
107     public List<String> getDefaultCapabilities() {
108         return defaultCapabilities;
109     }
110
111     public void setDefaultCapabilities(List<String> defaultCapabilities) {
112         this.defaultCapabilities = defaultCapabilities;
113     }
114     public Map<String, InterfaceOperationDataDefinition> getInterfaceOperations() {
115         return interfaceOperations;
116     }
117
118     public void setInterfaceOperations(Map<String, InterfaceOperationDataDefinition> interfaceOperations) {
119         this.interfaceOperations = interfaceOperations;
120     }
121
122 }