Replaced all tabs with spaces in java and pom.xml
[so.git] / asdc-controller / src / main / java / org / onap / so / asdc / client / FinalDistributionStatusMessage.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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.so.asdc.client;
22
23 import org.onap.sdc.api.consumer.IFinalDistrStatusMessage;
24 import org.onap.sdc.utils.DistributionStatusEnum;
25
26 public class FinalDistributionStatusMessage implements IFinalDistrStatusMessage {
27
28     private String componentName;
29
30     private String consumerID;
31
32     private String distributionID;
33
34     private DistributionStatusEnum status;
35
36     private long timestamp;
37
38     public FinalDistributionStatusMessage(String distributionId, final DistributionStatusEnum distributionStatusEnum,
39             final long timestampL, String consumerId) {
40         // componentName = componentname;
41         consumerID = consumerId;
42         distributionID = distributionId;
43         status = distributionStatusEnum;
44         timestamp = timestampL;
45     }
46
47     public DistributionStatusEnum getStatus() {
48         return status;
49     }
50
51     public void setStatus(DistributionStatusEnum status) {
52         this.status = status;
53     }
54
55     public String getDistributionID() {
56         return distributionID;
57     }
58
59     public void setDistributionID(String distributionID) {
60         this.distributionID = distributionID;
61     }
62
63     public long getTimestamp() {
64         return timestamp;
65     }
66
67     public void setTimestamp(long timestamp) {
68         this.timestamp = timestamp;
69     }
70
71     public String getComponentName() {
72         return componentName;
73     }
74
75     public void setComponentName(String componentName) {
76         this.componentName = componentName;
77     }
78
79     public String getConsumerID() {
80         return consumerID;
81     }
82
83     public void setConsumerID(String consumerID) {
84         this.consumerID = consumerID;
85     }
86
87 }