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;
24 import java.util.List;
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.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.PolicyDefinition;
42 import org.openecomp.sdc.be.model.PropertyDefinition;
43 import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
44 import org.openecomp.sdc.be.model.RequirementDefinition;
45 import org.openecomp.sdc.be.model.category.CategoryDefinition;
49 public class UiComponentDataTransfer {
51 protected ComponentTypeEnum componentType;
52 protected List<AdditionalInformationDefinition> additionalInformation;
53 private Map<String, ArtifactDefinition> artifacts;
54 private Map<String, ArtifactDefinition> deploymentArtifacts;
55 private Map<String, ArtifactDefinition> toscaArtifacts;
56 private List<CategoryDefinition> categories;
58 private String creatorUserId;
59 private String creatorFullName;
60 private String lastUpdaterUserId;
61 private String lastUpdaterFullName;
62 private List<ComponentInstance> componentInstances;
63 private List<RequirementCapabilityRelDef> componentInstancesRelations;
64 private Map<String, List<ComponentInstanceInput>> componentInstancesInputs;
65 private Map<String, List<ComponentInstanceProperty>> componentInstancesProperties;
66 private Map<String, List<ComponentInstanceProperty>> componentInstancesAttributes;
67 private Map<String, List<CapabilityDefinition>> capabilities;
68 private List<PolicyDefinition> policies;
69 private Map<String, List<RequirementDefinition>> requirements;
70 private List<InputDefinition> inputs;
71 private List<GroupDefinition> groups;
72 private Map<String, InterfaceDefinition> interfaces;
74 private Map<String, CINodeFilterDataDefinition> nodeFilter;
75 private Map<String, SubstitutionFilterDataDefinition> substitutionFilter;
77 private Map<String, UINodeFilter> nodeFilterforNode;
78 private Map<String, UINodeFilter> substitutionFilterForTopologyTemplate;
79 private List<PropertyDefinition> properties;
80 private Map<String, List<ComponentInstanceInterface>> componentInstancesInterfaces;
82 public UiComponentDataTransfer() {