org.onap migration
[vid.git] / vid-app-common / src / main / java / org / onap / vid / asdc / beans / SubResource.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.vid.asdc.beans;
22
23 import java.util.Collection;
24 /**
25  * The Class SubResource.
26  */
27 public class SubResource {
28
29         /** The resource instance name. */
30         private String resourceInstanceName;
31         
32         /** The resource name. */
33         private String resourceName;
34         
35         /** The resource invariant UUID. */
36         private String resourceInvariantUUID;
37         
38         /** The resource version. */
39         private String resourceVersion;
40         
41         /** The resource type. */
42         private String resourceType;
43         
44         /** The resource UUID. */
45         private String resourceUUID;
46         
47         /** The artifacts. */
48         private Collection<Artifact> artifacts;
49         
50         /**
51          * Gets the resource instance name.
52          *
53          * @return the resource instance name
54          */
55         public String getResourceInstanceName() {
56                 return resourceInstanceName;
57         }
58         
59         /**
60          * Gets the resource name.
61          *
62          * @return the resource name
63          */
64         public String getResourceName() {
65                 return resourceName;
66         }
67         
68         /**
69          * Gets the resource invariant UUID.
70          *
71          * @return the resource invariant UUID
72          */
73         public String getResourceInvariantUUID() {
74                 return resourceInvariantUUID;
75         }
76         
77         /**
78          * Gets the resource version.
79          *
80          * @return the resource version
81          */
82         public String getResourceVersion() {
83                 return resourceVersion;
84         }
85         
86         /**
87          * Gets the resoucre type.
88          *
89          * @return the resoucre type
90          */
91         public String getResoucreType() {
92                 return resourceType;
93         }
94         
95         /**
96          * Gets the resource UUID.
97          *
98          * @return the resource UUID
99          */
100         public String getResourceUUID() {
101                 return resourceUUID;
102         }
103         
104         /**
105          * Gets the artifacts.
106          *
107          * @return the artifacts
108          */
109         public Collection<Artifact> getArtifacts() {
110                 return artifacts;
111         }
112         
113         /**
114          * Sets the resource instance name.
115          *
116          * @param resourceInstanceName the new resource instance name
117          */
118         public void setResourceInstanceName(String resourceInstanceName) {
119                 this.resourceInstanceName = resourceInstanceName;
120         }
121         
122         /**
123          * Sets the resource name.
124          *
125          * @param resourceName the new resource name
126          */
127         public void setResourceName(String resourceName) {
128                 this.resourceName = resourceName;
129         }
130         
131         /**
132          * Sets the resource invariant UUID.
133          *
134          * @param resourceInvariantUUID the new resource invariant UUID
135          */
136         public void setResourceInvariantUUID(String resourceInvariantUUID) {
137                 this.resourceInvariantUUID = resourceInvariantUUID;
138         }
139         
140         /**
141          * Sets the resource version.
142          *
143          * @param resourceVersion the new resource version
144          */
145         public void setResourceVersion(String resourceVersion) {
146                 this.resourceVersion = resourceVersion;
147         }
148         
149         /**
150          * Sets the resoucre type.
151          *
152          * @param resourceType the new resoucre type
153          */
154         public void setResoucreType(String resourceType) {
155                 this.resourceType = resourceType;
156         }
157         
158         /**
159          * Sets the resource UUID.
160          *
161          * @param resourceUUID the new resource UUID
162          */
163         public void setResourceUUID(String resourceUUID) {
164                 this.resourceUUID = resourceUUID;
165         }
166         
167         /**
168          * Sets the artifacts.
169          *
170          * @param artifacts the new artifacts
171          */
172         public void setArtifacts(Collection<Artifact> artifacts) {
173                 this.artifacts = artifacts;
174         }
175 }