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.AttributeDefinition;
34 import org.openecomp.sdc.be.model.CapabilityDefinition;
35 import org.openecomp.sdc.be.model.ComponentInstance;
36 import org.openecomp.sdc.be.model.ComponentInstanceAttribute;
37 import org.openecomp.sdc.be.model.ComponentInstanceInput;
38 import org.openecomp.sdc.be.model.ComponentInstanceInterface;
39 import org.openecomp.sdc.be.model.ComponentInstanceProperty;
40 import org.openecomp.sdc.be.model.GroupDefinition;
41 import org.openecomp.sdc.be.model.InputDefinition;
42 import org.openecomp.sdc.be.model.InterfaceDefinition;
43 import org.openecomp.sdc.be.model.PolicyDefinition;
44 import org.openecomp.sdc.be.model.PropertyDefinition;
45 import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
46 import org.openecomp.sdc.be.model.RequirementDefinition;
47 import org.openecomp.sdc.be.model.category.CategoryDefinition;
51 public class UiComponentDataTransfer {
53 protected ComponentTypeEnum componentType;
54 protected List<AdditionalInformationDefinition> additionalInformation;
55 private Map<String, ArtifactDefinition> artifacts;
56 private Map<String, ArtifactDefinition> deploymentArtifacts;
57 private Map<String, ArtifactDefinition> toscaArtifacts;
58 private List<CategoryDefinition> categories;
60 private String creatorUserId;
61 private String creatorFullName;
62 private String lastUpdaterUserId;
63 private String lastUpdaterFullName;
64 private List<ComponentInstance> componentInstances;
65 private List<RequirementCapabilityRelDef> componentInstancesRelations;
66 private Map<String, List<ComponentInstanceInput>> componentInstancesInputs;
67 private Map<String, List<ComponentInstanceProperty>> componentInstancesProperties;
68 private Map<String, List<ComponentInstanceAttribute>> componentInstancesAttributes;
69 private Map<String, List<CapabilityDefinition>> capabilities;
70 private List<PolicyDefinition> policies;
71 private Map<String, List<RequirementDefinition>> requirements;
72 private List<InputDefinition> inputs;
73 private List<GroupDefinition> groups;
74 private Map<String, InterfaceDefinition> interfaces;
76 private Map<String, CINodeFilterDataDefinition> nodeFilter;
77 private Map<String, SubstitutionFilterDataDefinition> substitutionFilter;
79 private Map<String, UINodeFilter> nodeFilterforNode;
80 private Map<String, UINodeFilter> substitutionFilterForTopologyTemplate;
81 private List<PropertyDefinition> properties;
82 private List<AttributeDefinition> attributes;
83 private Map<String, List<ComponentInstanceInterface>> componentInstancesInterfaces;
85 public UiComponentDataTransfer() {