forked from WASdev/sample.DefaultApplication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIncrement.java
48 lines (37 loc) · 1.12 KB
/
Increment.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// 5630-A23, 5630-A22, (C) Copyright IBM Corporation, 2019
// All rights reserved. Licensed Materials Property of IBM
// Note to US Government users: Documentation related to restricted rights
// Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule with IBM Corp.
// This page may contain other proprietary notices and copyright information, the terms of which must be observed and followed.
//
//
package com.ibm.defaultapplication;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the INCREMENT database table.
*
*/
@Entity
@NamedQuery(name="Increment.findAll", query="SELECT i FROM Increment i")
public class Increment implements Serializable {
private static final long serialVersionUID = 1L;
private String primarykey;
private int thevalue;
public Increment() {
}
@Id
public String getPrimarykey() {
return this.primarykey;
}
public void setPrimarykey(String primarykey) {
this.primarykey = primarykey;
}
public int getThevalue() {
return this.thevalue;
}
public void setThevalue(int thevalue) {
this.thevalue = thevalue;
}
}