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.onap.sdc.ci.tests.datatypes;
23 public class AssetStructure {
26 private String invariantUUID;
28 private String version;
29 private String toscaModelURL;
30 private String category;
31 private String lifecycleState;
32 private String lastUpdaterUserId;
34 public AssetStructure() {
38 public AssetStructure(String uuid, String invariantUUID, String name, String version, String toscaModelURL,
39 String category, String lifecycleState, String lastUpdaterUserId) {
42 this.invariantUUID = invariantUUID;
44 this.version = version;
45 this.toscaModelURL = toscaModelURL;
46 this.category = category;
47 this.lifecycleState = lifecycleState;
48 this.lastUpdaterUserId = lastUpdaterUserId;
52 public String toString() {
53 return "AssetStructure [uuid=" + uuid + ", invariantUUID=" + invariantUUID + ", name=" + name + ", version="
54 + version + ", toscaModelURL=" + toscaModelURL + ", category=" + category + ", lifecycleState="
55 + lifecycleState + ", lastUpdaterUserId=" + lastUpdaterUserId + "]";
58 public String getUuid() {
62 public void setUuid(String uuid) {
66 public String getInvariantUUID() {
70 public void setInvariantUUID(String invariantUUID) {
71 this.invariantUUID = invariantUUID;
74 public String getName() {
78 public void setName(String name) {
82 public String getVersion() {
86 public void setVersion(String version) {
87 this.version = version;
90 public String getToscaModelURL() {
94 public void setToscaModelURL(String toscaModelURL) {
95 this.toscaModelURL = toscaModelURL;
98 public String getCategory() {
102 public void setCategory(String category) {
103 this.category = category;
106 public String getLifecycleState() {
107 return lifecycleState;
110 public void setLifecycleState(String lifecycleState) {
111 this.lifecycleState = lifecycleState;
114 public String getLastUpdaterUserId() {
115 return lastUpdaterUserId;
118 public void setLastUpdaterUserId(String lastUpdaterUserId) {
119 this.lastUpdaterUserId = lastUpdaterUserId;