Fix for radio buttons
[sdc.git] / asdc-tests / src / main / java / org / openecomp / sdc / ci / tests / datatypes / ResourceDetailedAssetStructure.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 ResourceDetailedAssetStructure extends ResourceAssetStructure {
26
27         private List<ResourceInstanceAssetStructure> resources;
28         private List<ArtifactAssetStructure> artifacts;
29
30         public ResourceDetailedAssetStructure() {
31                 super();
32         }
33
34         public ResourceDetailedAssetStructure(String lastUpdaterFullName, String toscaResourceName,
35                         List<ResourceInstanceAssetStructure> resources, List<ArtifactAssetStructure> artifacts) {
36                 super();
37                 this.lastUpdaterFullName = lastUpdaterFullName;
38                 this.toscaResourceName = toscaResourceName;
39                 this.resources = resources;
40                 this.artifacts = artifacts;
41         }
42
43         public List<ResourceInstanceAssetStructure> getResources() {
44                 return resources;
45         }
46
47         public void setResources(List<ResourceInstanceAssetStructure> resources) {
48                 this.resources = resources;
49         }
50
51         public List<ArtifactAssetStructure> getArtifacts() {
52                 return artifacts;
53         }
54
55         public void setArtifacts(List<ArtifactAssetStructure> artifacts) {
56                 this.artifacts = artifacts;
57         }
58
59         @Override
60         public String toString() {
61                 return "ResourceDetailedAssetStructure [lastUpdaterFullName=" + lastUpdaterFullName + ", toscaResourceName="
62                                 + toscaResourceName + ", resources=" + resources + ", artifacts=" + artifacts + ", toString()="
63                                 + super.toString() + ", getSubCategory()=" + getSubCategory() + ", getResourceType()="
64                                 + getResourceType() + ", getUuid()=" + getUuid() + ", getInvariantUUID()=" + getInvariantUUID()
65                                 + ", getName()=" + getName() + ", getVersion()=" + getVersion() + ", getToscaModelURL()="
66                                 + getToscaModelURL() + ", getCategory()=" + getCategory() + ", getLifecycleState()="
67                                 + getLifecycleState() + ", getLastUpdaterUserId()=" + getLastUpdaterUserId() + ", getClass()="
68                                 + getClass() + ", hashCode()=" + hashCode() + "]";
69         }
70
71 }