1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.model;
17
18 import javax.persistence.Column;
19 import javax.persistence.Entity;
20 import javax.persistence.GeneratedValue;
21 import javax.persistence.GenerationType;
22 import javax.persistence.Id;
23 import javax.persistence.Lob;
24 import javax.persistence.Table;
25
26
27
28
29 @Entity
30 @Table(name="j3_signature_value")
31 public class SignatureValue implements java.io.Serializable {
32 private static final long serialVersionUID = -3233157941119408717L;
33
34 private Long id;
35 private byte[] value;
36 private String xmlID;
37
38 @Id
39 @GeneratedValue(strategy=GenerationType.AUTO)
40 public Long getId() {
41 return id;
42 }
43
44 public void setId(Long id) {
45 this.id = id;
46 }
47
48 @Column(name="value_bytes", length = 65636)
49 @Lob
50 public byte[] getValue() {
51 return value;
52 }
53
54 public void setValue(byte[] value) {
55 this.value = value;
56 }
57
58 @Column(name="xml_id")
59 public String getXmlID() {
60 return xmlID;
61 }
62
63 public void setXmlID(String xmlID) {
64 this.xmlID = xmlID;
65 }
66 }