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