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 ResourceAssetStructure extends AssetStructure {
25 private String subCategory;
26 private String resourceType;
27 protected String lastUpdaterFullName;
28 protected String toscaResourceName;
30 public ResourceAssetStructure() {
34 public ResourceAssetStructure(String uuid, String invariantUUID, String name, String version, String toscaModelURL,
35 String category, String lifecycleState, String lastUpdaterUserId) {
36 super(uuid, invariantUUID, name, version, toscaModelURL, category, lifecycleState, lastUpdaterUserId);
40 public String toString() {
41 return "ResourceAssetStructure [subCategory=" + subCategory + ", resourceType=" + resourceType + "]";
44 public String getLastUpdaterFullName() {
45 return lastUpdaterFullName;
48 public void setLastUpdaterFullName(String lastUpdaterFullName) {
49 this.lastUpdaterFullName = lastUpdaterFullName;
52 public String getToscaResourceName() {
53 return toscaResourceName;
56 public void setToscaResourceName(String toscaResourceName) {
57 this.toscaResourceName = toscaResourceName;
60 public String getSubCategory() {
64 public void setSubCategory(String subCategory) {
65 this.subCategory = subCategory;
68 public String getResourceType() {
72 public void setResourceType(String resourceType) {
73 this.resourceType = resourceType;