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.ci.tests.datatypes;
23 import java.util.List;
25 public class ResourceDetailedAssetStructure extends ResourceAssetStructure {
27 private String lastUpdaterFullName;
28 private String toscaResourceName;
29 private List<ResourceInstanceAssetStructure> resources;
30 private List<ArtifactAssetStructure> artifacts;
32 public ResourceDetailedAssetStructure() {
36 public ResourceDetailedAssetStructure(String lastUpdaterFullName, String toscaResourceName,
37 List<ResourceInstanceAssetStructure> resources, List<ArtifactAssetStructure> artifacts) {
39 this.lastUpdaterFullName = lastUpdaterFullName;
40 this.toscaResourceName = toscaResourceName;
41 this.resources = resources;
42 this.artifacts = artifacts;
45 public String getLastUpdaterFullName() {
46 return lastUpdaterFullName;
49 public void setLastUpdaterFullName(String lastUpdaterFullName) {
50 this.lastUpdaterFullName = lastUpdaterFullName;
53 public String getToscaResourceName() {
54 return toscaResourceName;
57 public void setToscaResourceName(String toscaResourceName) {
58 this.toscaResourceName = toscaResourceName;
61 public List<ResourceInstanceAssetStructure> getResources() {
65 public void setResources(List<ResourceInstanceAssetStructure> resources) {
66 this.resources = resources;
69 public List<ArtifactAssetStructure> getArtifacts() {
73 public void setArtifacts(List<ArtifactAssetStructure> artifacts) {
74 this.artifacts = artifacts;
78 public String toString() {
79 return "ResourceDetailedAssetStructure [lastUpdaterFullName=" + lastUpdaterFullName + ", toscaResourceName="
80 + toscaResourceName + ", resources=" + resources + ", artifacts=" + artifacts + ", toString()="
81 + super.toString() + ", getSubCategory()=" + getSubCategory() + ", getResourceType()="
82 + getResourceType() + ", getUuid()=" + getUuid() + ", getInvariantUUID()=" + getInvariantUUID()
83 + ", getName()=" + getName() + ", getVersion()=" + getVersion() + ", getToscaModelURL()="
84 + getToscaModelURL() + ", getCategory()=" + getCategory() + ", getLifecycleState()="
85 + getLifecycleState() + ", getLastUpdaterUserId()=" + getLastUpdaterUserId() + ", getClass()="
86 + getClass() + ", hashCode()=" + hashCode() + "]";