This project has retired. For details please refer to its
Attic page.
SubscriptionChunkToken xref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.juddi.model;
18
19 import java.util.Date;
20
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.Id;
24 import javax.persistence.Table;
25 import javax.persistence.Temporal;
26 import javax.persistence.TemporalType;
27
28
29
30
31 @Entity
32 @Table(name = "j3_subscription_chunk_token")
33 public class SubscriptionChunkToken implements java.io.Serializable {
34
35 private static final long serialVersionUID = 3839994259992953856L;
36 private String chunkToken;
37 private String subscriptionKey;
38 private Date startPoint;
39 private Date endPoint;
40 private Integer data;
41 private Date expiresAfter;
42
43 public SubscriptionChunkToken() {
44
45 }
46
47 public SubscriptionChunkToken(String chunkToken) {
48 this.chunkToken = chunkToken;
49 }
50
51 @Id
52 @Column(name = "chunk_token", nullable = false, length = 255)
53 public String getChunkToken() {
54 return chunkToken;
55 }
56 public void setChunkToken(String chunkToken) {
57 this.chunkToken = chunkToken;
58 }
59
60 @Column(name = "subscription_key", nullable = false, length = 255)
61 public String getSubscriptionKey() {
62 return subscriptionKey;
63 }
64 public void setSubscriptionKey(String subscriptionKey) {
65 this.subscriptionKey = subscriptionKey;
66 }
67
68 @Temporal(TemporalType.TIMESTAMP)
69 @Column(name = "start_point", length = 29)
70 public Date getStartPoint() {
71 return startPoint;
72 }
73 public void setStartPoint(Date startPoint) {
74 this.startPoint = startPoint;
75 }
76
77 @Temporal(TemporalType.TIMESTAMP)
78 @Column(name = "end_point", length = 29)
79 public Date getEndPoint() {
80 return endPoint;
81 }
82 public void setEndPoint(Date endPoint) {
83 this.endPoint = endPoint;
84 }
85
86 @Column(name = "data", nullable = false)
87 public Integer getData() {
88 return data;
89 }
90 public void setData(Integer data) {
91 this.data = data;
92 }
93
94 @Temporal(TemporalType.TIMESTAMP)
95 @Column(name = "expires_after", nullable = false, length = 29)
96 public Date getExpiresAfter() {
97 return expiresAfter;
98 }
99 public void setExpiresAfter(Date expiresAfter) {
100 this.expiresAfter = expiresAfter;
101 }
102
103
104 }