2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright 2018 TechMahindra
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=========================================================
20 package com.onap.sdnc.reports.rest.model;
22 import java.io.Serializable;
23 import java.util.Date;
25 public class PreTestModel implements Serializable{
27 private static final long serialVersionUID = -3009157732242241606L;
31 private long deviceid;
33 private String testName;
35 private String deviceIP,execuationDetails,result;
37 private Date timeStamp;
39 public PreTestModel(long testid, long deviceid, String testName, String deviceIP, String execuationDetails,
40 String result, Date timeStamp) {
43 this.deviceid = deviceid;
44 this.testName = testName;
45 this.deviceIP = deviceIP;
46 this.execuationDetails = execuationDetails;
48 this.timeStamp = timeStamp;
52 public String toString() {
53 return "PreTestModel [testid=" + testid + ", deviceid=" + deviceid + ", testName=" + testName + ", deviceName="
54 + deviceIP + ", execuationDetails=" + execuationDetails + ", result=" + result + ", timeStamp="
58 public long getTestid() {
62 public void setTestid(long testid) {
66 public long getDeviceid() {
70 public void setDeviceid(long deviceid) {
71 this.deviceid = deviceid;
74 public String getTestName() {
78 public void setTestName(String testName) {
79 this.testName = testName;
82 public String getDeviceIP() {
86 public void setDeviceName(String deviceName) {
87 this.deviceIP = deviceName;
90 public String getExecuationDetails() {
91 return execuationDetails;
94 public void setExecuationDetails(String execuationDetails) {
95 this.execuationDetails = execuationDetails;
98 public String getResult() {
102 public void setResult(String result) {
103 this.result = result;
106 public Date getTimeStamp() {
110 public void setTimeStamp(Date timeStamp) {
111 this.timeStamp = timeStamp;