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");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
\r
21 package org.openecomp.vid.asdc.beans;
\r
23 import java.util.Collection;
\r
25 * The Class SubResource.
\r
27 public class SubResource {
\r
29 /** The resource instance name. */
\r
30 private String resourceInstanceName;
\r
32 /** The resource name. */
\r
33 private String resourceName;
\r
35 /** The resource invariant UUID. */
\r
36 private String resourceInvariantUUID;
\r
38 /** The resource version. */
\r
39 private String resourceVersion;
\r
41 /** The resource type. */
\r
42 private String resourceType;
\r
44 /** The resource UUID. */
\r
45 private String resourceUUID;
\r
47 /** The artifacts. */
\r
48 private Collection<Artifact> artifacts;
\r
51 * Gets the resource instance name.
\r
53 * @return the resource instance name
\r
55 public String getResourceInstanceName() {
\r
56 return resourceInstanceName;
\r
60 * Gets the resource name.
\r
62 * @return the resource name
\r
64 public String getResourceName() {
\r
65 return resourceName;
\r
69 * Gets the resource invariant UUID.
\r
71 * @return the resource invariant UUID
\r
73 public String getResourceInvariantUUID() {
\r
74 return resourceInvariantUUID;
\r
78 * Gets the resource version.
\r
80 * @return the resource version
\r
82 public String getResourceVersion() {
\r
83 return resourceVersion;
\r
87 * Gets the resoucre type.
\r
89 * @return the resoucre type
\r
91 public String getResoucreType() {
\r
92 return resourceType;
\r
96 * Gets the resource UUID.
\r
98 * @return the resource UUID
\r
100 public String getResourceUUID() {
\r
101 return resourceUUID;
\r
105 * Gets the artifacts.
\r
107 * @return the artifacts
\r
109 public Collection<Artifact> getArtifacts() {
\r
114 * Sets the resource instance name.
\r
116 * @param resourceInstanceName the new resource instance name
\r
118 public void setResourceInstanceName(String resourceInstanceName) {
\r
119 this.resourceInstanceName = resourceInstanceName;
\r
123 * Sets the resource name.
\r
125 * @param resourceName the new resource name
\r
127 public void setResourceName(String resourceName) {
\r
128 this.resourceName = resourceName;
\r
132 * Sets the resource invariant UUID.
\r
134 * @param resourceInvariantUUID the new resource invariant UUID
\r
136 public void setResourceInvariantUUID(String resourceInvariantUUID) {
\r
137 this.resourceInvariantUUID = resourceInvariantUUID;
\r
141 * Sets the resource version.
\r
143 * @param resourceVersion the new resource version
\r
145 public void setResourceVersion(String resourceVersion) {
\r
146 this.resourceVersion = resourceVersion;
\r
150 * Sets the resoucre type.
\r
152 * @param resourceType the new resoucre type
\r
154 public void setResoucreType(String resourceType) {
\r
155 this.resourceType = resourceType;
\r
159 * Sets the resource UUID.
\r
161 * @param resourceUUID the new resource UUID
\r
163 public void setResourceUUID(String resourceUUID) {
\r
164 this.resourceUUID = resourceUUID;
\r
168 * Sets the artifacts.
\r
170 * @param artifacts the new artifacts
\r
172 public void setArtifacts(Collection<Artifact> artifacts) {
\r
173 this.artifacts = artifacts;
\r