Update license header in appc-dispatcher files
[appc.git] / appc-dispatcher / appc-dispatcher-common / domain-model-lib / src / main / java / org / onap / appc / domainmodel / lcm / CommonHeader.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017-2018 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  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.appc.domainmodel.lcm;
25
26 import java.util.Date;
27
28
29 public class CommonHeader {
30
31     private Flags flags;
32     private Date timestamp;
33     private String apiVer;
34     private String originatorId;
35     private String requestId;
36     private String subRequestId;
37
38     public Flags getFlags() {
39         return flags;
40     }
41
42     public void setFlags(Flags flags) {
43         this.flags = flags;
44     }
45
46     public Date getTimeStamp() {
47         return timestamp;
48     }
49
50     public void setTimestamp(Date timestamp) {
51         this.timestamp = timestamp;
52     }
53
54     public String getApiVer() {
55         return apiVer;
56     }
57
58     public void setApiVer(String apiVer) {
59         this.apiVer = apiVer;
60     }
61
62     public String getOriginatorId() {
63         return originatorId;
64     }
65
66     public void setOriginatorId(String originatorId) {
67         this.originatorId = originatorId;
68     }
69
70     public String getRequestId() {
71         return requestId;
72     }
73
74     public void setRequestId(String requestId) {
75         this.requestId = requestId;
76     }
77
78     public String getSubRequestId() {
79         return subRequestId;
80     }
81
82     public void setSubRequestId(String subRequestId) {
83         this.subRequestId = subRequestId;
84     }
85
86     @Override
87     public String toString() {
88         return "CommonHeader{" +
89                 "flags=" + flags +
90                 ", timestamp=" + timestamp +
91                 ", apiVer='" + apiVer + '\'' +
92                 ", originatorId='" + originatorId + '\'' +
93                 ", requestId='" + requestId + '\'' +
94                 ", subRequestId='" + subRequestId + '\'' +
95                 '}';
96     }
97 }