2  * ============LICENSE_START=======================================================
 
   4  * ================================================================================
 
   5  * Copyright (C) 2017-2018 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;
 
  39     @Column(name = "ROWID")
 
  42     @Column(name = "CLNAME")
 
  43     private String closedLoopName;
 
  45     private String requestId;
 
  47     private String operation;
 
  48     private String target;
 
  49     private Timestamp starttime;
 
  50     private Timestamp endtime;
 
  51     private String subrequestId;
 
  52     private String outcome;
 
  53     private String message;
 
  55     public long getRowid() {
 
  59     public void setRowid(long rowid) {
 
  63     public String getClosedLoopName() {
 
  64         return closedLoopName;
 
  67     public void setClosedLoopName(String closedLoopName) {
 
  68         this.closedLoopName = closedLoopName;
 
  71     public String getRequestId() {
 
  75     public void setRequestId(String requestId) {
 
  76         this.requestId = requestId;
 
  79     public String getActor() {
 
  83     public void setActor(String actor) {
 
  87     public String getOperation() {
 
  91     public void setOperation(String operation) {
 
  92         this.operation = operation;
 
  95     public String getTarget() {
 
  99     public void setTarget(String target) {
 
 100         this.target = target;
 
 103     public Timestamp getStarttime() {
 
 107     public void setStarttime(Timestamp starttime) {
 
 108         this.starttime = starttime;
 
 111     public Timestamp getEndtime() {
 
 115     public void setEndtime(Timestamp endtime) {
 
 116         this.endtime = endtime;
 
 119     public String getSubrequestId() {
 
 123     public void setSubrequestId(String subrequestId) {
 
 124         this.subrequestId = subrequestId;
 
 127     public String getOutcome() {
 
 131     public void setOutcome(String outcome) {
 
 132         this.outcome = outcome;
 
 135     public String getMessage() {
 
 139     public void setMessage(String message) {
 
 140         this.message = message;