Merge "Fixed issues found in integration testing" into dublin
[so.git] / vnfm-simulator / vnfm-service / src / main / java / org / onap / svnfm / simulator / model / VnfJob.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Nordix Foundation.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 package org.onap.svnfm.simulator.model;
21
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.Id;
25 import javax.persistence.Table;
26
27 /**
28  * 
29  * @author Lathishbabu Ganesan (lathishbabu.ganesan@est.tech)
30  * @author Ronan Kenny (ronan.kenny@est.tech)
31  */
32 @Entity
33 @Table(name = "VNF_JOB")
34 public class VnfJob {
35     @Id
36     @Column(name = "jobId", nullable = false)
37     private String jobId;
38     private String vnfInstanceId;
39     private String vnfId;
40     private String status;
41
42     public String getJobId() {
43         return jobId;
44     }
45
46     public void setJobId(final String jobId) {
47         this.jobId = jobId;
48     }
49
50     public String getVnfInstanceId() {
51         return vnfInstanceId;
52     }
53
54     public void setVnfInstanceId(final String vnfInstanceId) {
55         this.vnfInstanceId = vnfInstanceId;
56     }
57
58     public String getVnfId() {
59         return vnfId;
60     }
61
62     public void setVnfId(final String vnfId) {
63         this.vnfId = vnfId;
64     }
65
66     public String getStatus() {
67         return status;
68     }
69
70     public void setStatus(final String status) {
71         this.status = status;
72     }
73 }