Fix for radio buttons
[sdc.git] / asdc-tests / src / main / java / org / openecomp / sdc / ci / tests / datatypes / ServiceDetailedAssetStructure.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.ci.tests.datatypes;
22
23 import java.util.List;
24
25 public class ServiceDetailedAssetStructure extends ServiceAssetStructure {
26
27         String lastUpdaterFullName;
28         List<ResourceInstanceAssetStructure> resources;
29         List<ArtifactAssetStructure> artifacts;
30
31         public ServiceDetailedAssetStructure() {
32                 super();
33         }
34
35         public ServiceDetailedAssetStructure(String uuid, String invariantUUID, String name, String version,
36                         String toscaModelURL, String category, String lifecycleState, String lastUpdaterUserId) {
37                 super(uuid, invariantUUID, name, version, toscaModelURL, category, lifecycleState, lastUpdaterUserId);
38         }
39
40         public ServiceDetailedAssetStructure(String lastUpdaterFullName, List<ResourceInstanceAssetStructure> resources,
41                         List<ArtifactAssetStructure> artifacts) {
42                 super();
43                 this.lastUpdaterFullName = lastUpdaterFullName;
44                 this.resources = resources;
45                 this.artifacts = artifacts;
46         }
47
48         public String getLastUpdaterFullName() {
49                 return lastUpdaterFullName;
50         }
51
52         public void setLastUpdaterFullName(String lastUpdaterFullName) {
53                 this.lastUpdaterFullName = lastUpdaterFullName;
54         }
55
56         public List<ResourceInstanceAssetStructure> getResources() {
57                 return resources;
58         }
59
60         public void setResources(List<ResourceInstanceAssetStructure> resources) {
61                 this.resources = resources;
62         }
63
64         public List<ArtifactAssetStructure> getArtifacts() {
65                 return artifacts;
66         }
67
68         public void setArtifacts(List<ArtifactAssetStructure> artifacts) {
69                 this.artifacts = artifacts;
70         }
71
72         @Override
73         public String toString() {
74                 return "ServiceDetailedAssetStructure [lastUpdaterFullName=" + lastUpdaterFullName + ", resources=" + resources
75                                 + ", artifacts=" + artifacts + "]";
76         }
77
78 }