d499dfe799e71dbce412ffd5ecf8dc68650a8a69
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / ui / model / UiComponentDataTransfer.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
24 import java.util.List;
25 import java.util.Map;
26 import lombok.Getter;
27 import lombok.Setter;
28 import org.openecomp.sdc.be.datatypes.elements.CINodeFilterDataDefinition;
29 import org.openecomp.sdc.be.datatypes.elements.SubstitutionFilterDataDefinition;
30 import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
31 import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
32 import org.openecomp.sdc.be.model.ArtifactDefinition;
33 import org.openecomp.sdc.be.model.CapabilityDefinition;
34 import org.openecomp.sdc.be.model.ComponentInstance;
35 import org.openecomp.sdc.be.model.ComponentInstanceAttribute;
36 import org.openecomp.sdc.be.model.ComponentInstanceInput;
37 import org.openecomp.sdc.be.model.ComponentInstanceInterface;
38 import org.openecomp.sdc.be.model.ComponentInstanceProperty;
39 import org.openecomp.sdc.be.model.GroupDefinition;
40 import org.openecomp.sdc.be.model.InputDefinition;
41 import org.openecomp.sdc.be.model.InterfaceDefinition;
42 import org.openecomp.sdc.be.model.PolicyDefinition;
43 import org.openecomp.sdc.be.model.PropertyDefinition;
44 import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
45 import org.openecomp.sdc.be.model.RequirementDefinition;
46 import org.openecomp.sdc.be.model.category.CategoryDefinition;
47
48 @Getter
49 @Setter
50 public class UiComponentDataTransfer {
51
52     protected ComponentTypeEnum componentType;
53     protected List<AdditionalInformationDefinition> additionalInformation;
54     private Map<String, ArtifactDefinition> artifacts;
55     private Map<String, ArtifactDefinition> deploymentArtifacts;
56     private Map<String, ArtifactDefinition> toscaArtifacts;
57     private List<CategoryDefinition> categories;
58     // User
59     private String creatorUserId;
60     private String creatorFullName;
61     private String lastUpdaterUserId;
62     private String lastUpdaterFullName;
63     private List<ComponentInstance> componentInstances;
64     private List<RequirementCapabilityRelDef> componentInstancesRelations;
65     private Map<String, List<ComponentInstanceInput>> componentInstancesInputs;
66     private Map<String, List<ComponentInstanceProperty>> componentInstancesProperties;
67     private Map<String, List<ComponentInstanceAttribute>> componentInstancesAttributes;
68     private Map<String, List<CapabilityDefinition>> capabilities;
69     private List<PolicyDefinition> policies;
70     private Map<String, List<RequirementDefinition>> requirements;
71     private List<InputDefinition> inputs;
72     private List<GroupDefinition> groups;
73     private Map<String, InterfaceDefinition> interfaces;
74
75     private Map<String, CINodeFilterDataDefinition> nodeFilter;
76     private Map<String, SubstitutionFilterDataDefinition> substitutionFilter;
77
78     private Map<String, UINodeFilter> nodeFilterforNode;
79     private Map<String, UINodeFilter> substitutionFilterForTopologyTemplate;
80     private List<PropertyDefinition> properties;
81     private Map<String, List<ComponentInstanceInterface>> componentInstancesInterfaces;
82
83     public UiComponentDataTransfer() {
84     }
85
86 }