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