Second part of onap rename
[appc.git] / appc-sdc-listener / appc-sdc-listener-bundle / src / main / java / org / openecomp / appc / sdc / artifacts / object / SDCArtifact.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.appc.sdc.artifacts.object;
26
27 /**
28  * POJO containing metadata about SDC artifact
29  */
30 public class SDCArtifact {
31
32     private String artifactUUID;
33
34     private String artifactName;
35
36     private String artifactType;
37
38     private String artifactVersion;
39
40     private String artifactContent;
41
42     private String artifactDescription;
43
44     private String creationDate;
45
46     private String distributionId;
47
48
49
50     private String resourceUUID;
51
52     private String resourceName;
53
54     private String resourceType;
55
56     private String resourceVersion;
57
58     private String resourceInstanceName;
59
60
61     private String serviceUUID;
62
63     private String serviceName;
64
65     private String serviceDescription;
66
67     public String getArtifactUUID() {
68         return artifactUUID;
69     }
70
71     public void setArtifactUUID(String artifactUUID) {
72         this.artifactUUID = artifactUUID;
73     }
74
75     public String getArtifactContent() {
76         return artifactContent;
77     }
78
79     public void setArtifactContent(String artifactContent) {
80         this.artifactContent = artifactContent;
81     }
82
83     public String getArtifactDescription() {
84         return artifactDescription;
85     }
86
87     public void setArtifactDescription(String artifactDescription) {
88         this.artifactDescription = artifactDescription;
89     }
90
91     public String getArtifactName() {
92         return artifactName;
93     }
94
95     public void setArtifactName(String artifactName) {
96         this.artifactName = artifactName;
97     }
98
99     public String getArtifactType() {
100         return artifactType;
101     }
102
103     public void setArtifactType(String artifactType) {
104         this.artifactType = artifactType;
105     }
106
107     public String getArtifactVersion() {
108         return artifactVersion;
109     }
110
111     public void setArtifactVersion(String artifactVersion) {
112         this.artifactVersion = artifactVersion;
113     }
114
115     public String getCreationDate() {
116         return creationDate;
117     }
118
119     public void setCreationDate(String creationDate) {
120         this.creationDate = creationDate;
121     }
122
123     public String getDistributionId() {
124         return distributionId;
125     }
126
127     public void setDistributionId(String distributionId) {
128         this.distributionId = distributionId;
129     }
130
131     public String getResourceInstanceName() {
132         return resourceInstanceName;
133     }
134
135     public void setResourceInstanceName(String resourceInstanceName) {
136         this.resourceInstanceName = resourceInstanceName;
137     }
138
139     public String getResourceName() {
140         return resourceName;
141     }
142
143     public void setResourceName(String resourceName) {
144         this.resourceName = resourceName;
145     }
146
147     public String getResourceType() {
148         return resourceType;
149     }
150
151     public void setResourceType(String resourceType) {
152         this.resourceType = resourceType;
153     }
154
155     public String getResourceUUID() {
156         return resourceUUID;
157     }
158
159     public void setResourceUUID(String resourceUUID) {
160         this.resourceUUID = resourceUUID;
161     }
162
163     public String getResourceVersion() {
164         return resourceVersion;
165     }
166
167     public void setResourceVersion(String resourceVersion) {
168         this.resourceVersion = resourceVersion;
169     }
170
171     public String getServiceDescription() {
172         return serviceDescription;
173     }
174
175     public void setServiceDescription(String serviceDescription) {
176         this.serviceDescription = serviceDescription;
177     }
178
179     public String getServiceName() {
180         return serviceName;
181     }
182
183     public void setServiceName(String serviceName) {
184         this.serviceName = serviceName;
185     }
186
187     public String getServiceUUID() {
188         return serviceUUID;
189     }
190
191     public void setServiceUUID(String serviceUUID) {
192         this.serviceUUID = serviceUUID;
193     }
194
195
196     @Override
197     public String toString() {
198         return "artifactUUID = " + artifactUUID +
199                 " , artifactName = " + artifactName +
200                 " , artifactType = " +  artifactType +
201                 " , artifactVersion = " + artifactVersion +
202                 " , artifactContent = " + artifactContent +
203                 " , artifactDescription = " +  artifactDescription +
204                 " , creationDate = " + creationDate +
205                 " , distributionId = " +distributionId +
206                 " , resourceUUID = " + resourceUUID +
207                 " , resourceName = " + resourceName +
208                 " , resourceType = " + resourceType +
209                 " , resourceVersion = " + resourceVersion +
210                 " , resourceInstanceName = " + resourceInstanceName +
211                 " , serviceUUID = " + serviceUUID +
212                 " , serviceName = " + serviceName +
213                 " , serviceDescription = " + serviceDescription;
214     }
215 }