This project has retired. For details please refer to its
Attic page.
Clerk xref
1 package org.apache.juddi.model;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 import javax.persistence.CascadeType;
19 import javax.persistence.Column;
20 import javax.persistence.Entity;
21 import javax.persistence.FetchType;
22 import javax.persistence.Id;
23 import javax.persistence.JoinColumn;
24 import javax.persistence.ManyToOne;
25 import javax.persistence.OneToMany;
26 import javax.persistence.OneToOne;
27 import javax.persistence.Table;
28 import javax.persistence.Transient;
29
30
31
32
33 @Entity
34 @Table(name = "j3_clerk")
35 public class Clerk implements java.io.Serializable {
36
37 @Transient
38 private static final long serialVersionUID = -4175742578534548023L;
39 @Id()
40 @Column(name="clerk_name", nullable = false, length=255)
41 private String clerkName;
42 @Column(name="publisher_id", nullable = false, length=255)
43 private String publisherId;
44
45
46
47
48
49 @Column (name="nodeid")
50 private String node;
51 @Column(name="cred", length=255)
52 private String cred;
53
54 public Clerk() {}
55
56 public Clerk(String clerkName, String cred, String node, String publisherId) {
57 super();
58 this.clerkName = clerkName;
59 this.cred = cred;
60 this.node = node;
61 this.publisherId = publisherId;
62 }
63
64 public String getClerkName() {
65 return clerkName;
66 }
67
68 public void setClerkName(String clerkName) {
69 this.clerkName = clerkName;
70 }
71
72 public String getPublisherId() {
73 return publisherId;
74 }
75
76 public void setPublisherId(String publisherId) {
77 this.publisherId = publisherId;
78 }
79
80 public String getNode() {
81 return node;
82 }
83
84 public void setNode(String node) {
85 this.node = node;
86 }
87
88 public String getCred() {
89 return cred;
90 }
91
92 public void setCred(String cred) {
93 this.cred = cred;
94 }
95
96 }