2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.policy.controlloop.eventmanager;
23 import java.io.Serializable;
24 import java.sql.Timestamp;
26 import javax.persistence.Column;
27 import javax.persistence.Entity;
28 import javax.persistence.GeneratedValue;
29 import javax.persistence.Id;
30 import javax.persistence.Table;
33 @Table(name="operationshistory10")
34 public class OperationsHistoryDbEntry implements Serializable {
35 private static final long serialVersionUID = 1L;
41 @Column(name="CLNAME")
42 private String closedLoopName;
44 private String requestId;
46 private String operation;
47 private String target;
48 private Timestamp starttime;
49 private Timestamp endtime;
50 private String subrequestId;
51 private String outcome;
52 private String message;
53 public long getRowid() {
56 public void setRowid(long rowid) {
59 public String getClosedLoopName() {
60 return closedLoopName;
62 public void setClosedLoopName(String closedLoopName) {
63 this.closedLoopName = closedLoopName;
65 public String getRequestId() {
68 public void setRequestId(String requestId) {
69 this.requestId = requestId;
71 public String getActor() {
74 public void setActor(String actor) {
77 public String getOperation() {
80 public void setOperation(String operation) {
81 this.operation = operation;
83 public String getTarget() {
86 public void setTarget(String target) {
89 public Timestamp getStarttime() {
92 public void setStarttime(Timestamp starttime) {
93 this.starttime = starttime;
95 public Timestamp getEndtime() {
98 public void setEndtime(Timestamp endtime) {
99 this.endtime = endtime;
101 public String getSubrequestId() {
104 public void setSubrequestId(String subrequestId) {
105 this.subrequestId = subrequestId;
107 public String getOutcome() {
110 public void setOutcome(String outcome) {
111 this.outcome = outcome;
113 public String getMessage() {
116 public void setMessage(String message) {
117 this.message = message;