Remove redundant methods from codebase
[aai/babel.git] / src / main / java / org / onap / aai / babel / xml / generator / data / Artifact.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
6  * Copyright (c) 2017-2019 European Software Marketing Ltd.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.aai.babel.xml.generator.data;
23
24 public class Artifact {
25
26     String name;
27     String type;
28     String groupType;
29     String description;
30     String label;
31     String version;
32     String checksum;
33     byte[] payload;
34
35     /**
36      * Instantiates a new Artifact.
37      *
38      * @param type the type
39      * @param groupType the group type
40      * @param checksum the checksum
41      * @param payload the payload
42      */
43     public Artifact(String type, String groupType, String checksum, byte[] payload) {
44         this.type = type;
45         this.groupType = groupType;
46         this.checksum = checksum;
47         this.payload = payload;
48     }
49
50     public byte[] getPayload() {
51         return payload;
52     }
53
54     public String getName() {
55         return name;
56     }
57
58     public void setName(String name) {
59         this.name = name;
60     }
61
62     public void setLabel(String label) {
63         this.label = label;
64     }
65
66     public void setDescription(String description) {
67         this.description = description;
68     }
69
70     public String getVersion() {
71         return version;
72     }
73
74     public void setVersion(String version) {
75         this.version = version;
76     }
77 }