2 * Copyright 2016-2017, Nokia Corporation
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.driver.vnfm.svnfm.db.bean;
19 import java.io.Serializable;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.Table;
30 @Table(name = "vnfm_job_execution_info")
31 public class VnfmJobExecutionInfo implements Serializable {
32 private static final long serialVersionUID = -288015953900428312L;
35 @GeneratedValue(strategy=GenerationType.AUTO)
36 @Column(name = "job_id")
39 @Column(name = "vnfm_execution_id")
40 private String vnfmExecutionId;
42 @Column(name = "vnf_instance_id")
43 private String vnfInstanceId;
45 @Column(name = "vnfm_interface_name")
46 private String vnfmInterfceName;
48 @Column(name = "status")
49 private String status;
51 public long getJobId() {
55 public void setJobId(long jobId) {
59 public String getVnfmExecutionId() {
60 return vnfmExecutionId;
63 public void setVnfmExecutionId(String vnfmExecutionId) {
64 this.vnfmExecutionId = vnfmExecutionId;
67 public String getVnfInstanceId() {
71 public void setVnfInstanceId(String vnfInstanceId) {
72 this.vnfInstanceId = vnfInstanceId;
75 public String getVnfmInterfceName() {
76 return vnfmInterfceName;
79 public void setVnfmInterfceName(String vnfmInterfceName) {
80 this.vnfmInterfceName = vnfmInterfceName;
83 public String getStatus() {
87 public void setStatus(String status) {
92 public String toString()
94 return " VnfmJobRecord: [ "
96 + ", jobId = " + jobId
97 + ", vnfInstanceId = " + vnfInstanceId
98 + ", vnfmExecutionId = " + vnfmExecutionId
99 + ", vnfmInterfceName = " + vnfmInterfceName
100 + ", status = " + status