Merge "Reorder modifiers"
[so.git] / asdc-controller / src / main / java / org / openecomp / mso / 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.openecomp.mso.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, final long timestampL, String consumerId) {
39                 //componentName = componentname;
40                 consumerID = consumerId;
41                 distributionID = distributionId;
42                 status = distributionStatusEnum;
43                 timestamp = timestampL;
44         }
45
46         public DistributionStatusEnum getStatus() {
47                 return status;
48         }
49
50         public void setStatus(DistributionStatusEnum status) {
51                 this.status = status;
52         }
53
54         public String getDistributionID() {
55                 return distributionID;
56         }
57
58         public void setDistributionID(String distributionID) {
59                 this.distributionID = distributionID;
60         }
61
62         public long getTimestamp() {
63                 return timestamp;
64         }
65
66         public void setTimestamp(long timestamp) {
67                 this.timestamp = timestamp;
68         }
69
70         public String getComponentName() {
71                 return componentName;
72         }
73
74         public void setComponentName(String componentName) {
75                 this.componentName = componentName;
76         }
77
78         public String getConsumerID() {
79                 return consumerID;
80         }
81
82         public void setConsumerID(String consumerID) {
83                 this.consumerID = consumerID;
84         }
85
86 }