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 ResourceInstanceAssetStructure {
27 String resourceInstanceName;
29 String resourceInvariantUUID;
30 String resourceVersion;
33 List<ArtifactAssetStructure> artifacts;
35 public ResourceInstanceAssetStructure() {
39 public ResourceInstanceAssetStructure(String resourceInstanceName, String resourceName,
40 String resourceInvariantUUID, String resourceVersion, String resoucreType, String resourceUUID,
41 List<ArtifactAssetStructure> artifacts) {
43 this.resourceInstanceName = resourceInstanceName;
44 this.resourceName = resourceName;
45 this.resourceInvariantUUID = resourceInvariantUUID;
46 this.resourceVersion = resourceVersion;
47 this.resoucreType = resoucreType;
48 this.resourceUUID = resourceUUID;
49 this.artifacts = artifacts;
52 public String getResourceInstanceName() {
53 return resourceInstanceName;
56 public void setResourceInstanceName(String resourceInstanceName) {
57 this.resourceInstanceName = resourceInstanceName;
60 public String getResourceName() {
64 public void setResourceName(String resourceName) {
65 this.resourceName = resourceName;
68 public String getResourceInvariantUUID() {
69 return resourceInvariantUUID;
72 public void setResourceInvariantUUID(String resourceInvariantUUID) {
73 this.resourceInvariantUUID = resourceInvariantUUID;
76 public String getResourceVersion() {
77 return resourceVersion;
80 public void setResourceVersion(String resourceVersion) {
81 this.resourceVersion = resourceVersion;
84 public String getResoucreType() {
88 public void setResoucreType(String resoucreType) {
89 this.resoucreType = resoucreType;
92 public String getResourceUUID() {
96 public void setResourceUUID(String resourceUUID) {
97 this.resourceUUID = resourceUUID;
100 public List<ArtifactAssetStructure> getArtifacts() {
104 public void setArtifacts(List<ArtifactAssetStructure> artifacts) {
105 this.artifacts = artifacts;
109 public String toString() {
110 return "ResourceInstanceAssetStructure [resourceInstanceName=" + resourceInstanceName + ", resourceName="
111 + resourceName + ", resourceInvariantUUID=" + resourceInvariantUUID + ", resourceVersion="
112 + resourceVersion + ", resoucreType=" + resoucreType + ", resourceUUID=" + resourceUUID + ", artifacts="