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 ServiceDetailedAssetStructure extends ServiceAssetStructure {
27 String lastUpdaterFullName;
28 List<ResourceInstanceAssetStructure> resources;
29 List<ArtifactAssetStructure> artifacts;
31 public ServiceDetailedAssetStructure() {
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);
40 public ServiceDetailedAssetStructure(String lastUpdaterFullName, List<ResourceInstanceAssetStructure> resources,
41 List<ArtifactAssetStructure> artifacts) {
43 this.lastUpdaterFullName = lastUpdaterFullName;
44 this.resources = resources;
45 this.artifacts = artifacts;
48 public String getLastUpdaterFullName() {
49 return lastUpdaterFullName;
52 public void setLastUpdaterFullName(String lastUpdaterFullName) {
53 this.lastUpdaterFullName = lastUpdaterFullName;
56 public List<ResourceInstanceAssetStructure> getResources() {
60 public void setResources(List<ResourceInstanceAssetStructure> resources) {
61 this.resources = resources;
64 public List<ArtifactAssetStructure> getArtifacts() {
68 public void setArtifacts(List<ArtifactAssetStructure> artifacts) {
69 this.artifacts = artifacts;
73 public String toString() {
74 return "ServiceDetailedAssetStructure [lastUpdaterFullName=" + lastUpdaterFullName + ", resources=" + resources
75 + ", artifacts=" + artifacts + "]";