Reformat catalog-model
[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 package org.openecomp.sdc.be.ui.model;
21
22 import java.util.List;
23 import java.util.Map;
24 import lombok.Getter;
25 import lombok.Setter;
26 import org.openecomp.sdc.be.datatypes.elements.CINodeFilterDataDefinition;
27 import org.openecomp.sdc.be.datatypes.elements.SubstitutionFilterDataDefinition;
28 import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
29 import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
30 import org.openecomp.sdc.be.model.ArtifactDefinition;
31 import org.openecomp.sdc.be.model.AttributeDefinition;
32 import org.openecomp.sdc.be.model.CapabilityDefinition;
33 import org.openecomp.sdc.be.model.ComponentInstance;
34 import org.openecomp.sdc.be.model.ComponentInstanceAttribute;
35 import org.openecomp.sdc.be.model.ComponentInstanceInput;
36 import org.openecomp.sdc.be.model.ComponentInstanceInterface;
37 import org.openecomp.sdc.be.model.ComponentInstanceProperty;
38 import org.openecomp.sdc.be.model.GroupDefinition;
39 import org.openecomp.sdc.be.model.InputDefinition;
40 import org.openecomp.sdc.be.model.InterfaceDefinition;
41 import org.openecomp.sdc.be.model.OutputDefinition;
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<OutputDefinition> outputs;
73     private List<GroupDefinition> groups;
74     private Map<String, InterfaceDefinition> interfaces;
75     private Map<String, CINodeFilterDataDefinition> nodeFilter;
76     private Map<String, SubstitutionFilterDataDefinition> substitutionFilter;
77     private Map<String, UINodeFilter> nodeFilterforNode;
78     private Map<String, UINodeFilter> substitutionFilterForTopologyTemplate;
79     private List<PropertyDefinition> properties;
80     private List<AttributeDefinition> attributes;
81     private Map<String, List<ComponentInstanceInterface>> componentInstancesInterfaces;
82 }