instantiate and terminate servce
[usecase-ui/server.git] / server / src / main / java / org / onap / usecaseui / server / bean / PerformanceHeader.java
1 /*
2  * Copyright (C) 2017 CMCC, Inc. and others. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.usecaseui.server.bean;
17
18 import java.io.Serializable;
19 import java.util.Date;
20
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.Table;
25
26
27 @Entity
28 @Table(name="alarms_commoneventheader")
29 public class PerformanceHeader implements Serializable{
30         
31         @Column(name = "version")
32         private String version;
33         
34         @Column(name = "eventName")
35         private String eventName;
36         
37         @Column(name = "domain")
38         private String domain;
39         
40         @Id
41         @Column(name = "eventId")
42         private String eventId;
43         
44         @Column(name = "eventType")
45         private String eventType;
46         
47         @Column(name = "nfcNamingCode", nullable=false)
48         private String nfcNamingCode;
49         
50         @Column(name = "nfNamingCode", nullable=false)
51         private String nfNamingCode;
52         
53         @Column(name = "sourceId")
54         private String sourceId;
55         
56         @Column(name = "sourceName")
57         private String sourceName;
58         
59         @Column(name = "reportingEntityId")
60         private String reportingEntityId;
61         
62         @Column(name = "reportingEntityName")
63         private String reportingEntityName;
64         
65         @Column(name = "priority")
66         private String priority;
67         
68         @Column(name = "startEpochMicrosec")
69         private String startEpochMicrosec;
70         
71         @Column(name = "lastEpochMicroSec")
72         private String lastEpochMicroSec;
73         
74         @Column(name = "sequence")
75         private String sequence;
76         
77         @Column(name = "measurementsForVfScalingVersion")
78         private String measurementsForVfScalingVersion;
79         
80         @Column(name = "measurementInterval")
81         private String measurementInterval;
82         
83         @Column(name = "createTime")
84         private Date createTime;
85         
86         @Column(name = "updateTime")
87         private Date updateTime;
88
89         public String getVersion() {
90                 return version;
91         }
92
93         public void setVersion(String version) {
94                 this.version = version;
95         }
96
97         public String getEventName() {
98                 return eventName;
99         }
100
101         public void setEventName(String eventName) {
102                 this.eventName = eventName;
103         }
104
105         public String getDomain() {
106                 return domain;
107         }
108
109         public void setDomain(String domain) {
110                 this.domain = domain;
111         }
112
113         public String getEventId() {
114                 return eventId;
115         }
116
117         public void setEventId(String eventId) {
118                 this.eventId = eventId;
119         }
120
121         public String getEventType() {
122                 return eventType;
123         }
124
125         public void setEventType(String eventType) {
126                 this.eventType = eventType;
127         }
128
129         public String getNfcNamingCode() {
130                 return nfcNamingCode;
131         }
132
133         public void setNfcNamingCode(String nfcNamingCode) {
134                 this.nfcNamingCode = nfcNamingCode;
135         }
136
137         public String getNfNamingCode() {
138                 return nfNamingCode;
139         }
140
141         public void setNfNamingCode(String nfNamingCode) {
142                 this.nfNamingCode = nfNamingCode;
143         }
144
145         public String getSourceId() {
146                 return sourceId;
147         }
148
149         public void setSourceId(String sourceId) {
150                 this.sourceId = sourceId;
151         }
152
153         public String getSourceName() {
154                 return sourceName;
155         }
156
157         public void setSourceName(String sourceName) {
158                 this.sourceName = sourceName;
159         }
160
161         public String getReportingEntityId() {
162                 return reportingEntityId;
163         }
164
165         public void setReportingEntityId(String reportingEntityId) {
166                 this.reportingEntityId = reportingEntityId;
167         }
168
169         public String getReportingEntityName() {
170                 return reportingEntityName;
171         }
172
173         public void setReportingEntityName(String reportingEntityName) {
174                 this.reportingEntityName = reportingEntityName;
175         }
176
177         public String getPriority() {
178                 return priority;
179         }
180
181         public void setPriority(String priority) {
182                 this.priority = priority;
183         }
184
185         public String getStartEpochMicrosec() {
186                 return startEpochMicrosec;
187         }
188
189         public void setStartEpochMicrosec(String startEpochMicrosec) {
190                 this.startEpochMicrosec = startEpochMicrosec;
191         }
192
193         public String getLastEpochMicroSec() {
194                 return lastEpochMicroSec;
195         }
196
197         public void setLastEpochMicroSec(String lastEpochMicroSec) {
198                 this.lastEpochMicroSec = lastEpochMicroSec;
199         }
200
201         public String getSequence() {
202                 return sequence;
203         }
204
205         public void setSequence(String sequence) {
206                 this.sequence = sequence;
207         }
208
209         public String getMeasurementsForVfScalingVersion() {
210                 return measurementsForVfScalingVersion;
211         }
212
213         public void setMeasurementsForVfScalingVersion(String measurementsForVfScalingVersion) {
214                 this.measurementsForVfScalingVersion = measurementsForVfScalingVersion;
215         }
216
217         public String getMeasurementInterval() {
218                 return measurementInterval;
219         }
220
221         public void setMeasurementInterval(String measurementInterval) {
222                 this.measurementInterval = measurementInterval;
223         }
224
225         public Date getCreateTime() {
226                 return createTime;
227         }
228
229         public void setCreateTime(Date createTime) {
230                 this.createTime = createTime;
231         }
232
233         public Date getUpdateTime() {
234                 return updateTime;
235         }
236
237         public void setUpdateTime(Date updateTime) {
238                 this.updateTime = updateTime;
239         }
240
241         
242         
243         
244 }