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.Table;
24
25
26
27
28 @Entity
29 @Table(name="j3_signature_method")
30 public class SignatureMethod {
31 private Long id;
32 private String algorithm;
33
34 @Id
35 @GeneratedValue(strategy=GenerationType.AUTO)
36 public Long getId() {
37 return id;
38 }
39
40 public void setId(Long id) {
41 this.id = id;
42 }
43
44 @Column(name="algorithm")
45 public String getAlgorithm() {
46 return algorithm;
47 }
48
49 public void setAlgorithm(String algorithm) {
50 this.algorithm = algorithm;
51 }
52 }