This project has retired. For details please refer to its
Attic page.
SignatureTransform xref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.juddi.model;
17
18 import java.util.ArrayList;
19 import java.util.List;
20 import javax.persistence.CascadeType;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.FetchType;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.JoinColumn;
28 import javax.persistence.ManyToOne;
29 import javax.persistence.OneToMany;
30 import javax.persistence.OrderBy;
31 import javax.persistence.Table;
32
33
34
35
36 @Entity
37 @Table(name="j3_signature_transform")
38 public class SignatureTransform implements java.io.Serializable {
39 private static final long serialVersionUID = -3233157941119408702L;
40
41 private Long id;
42 private Reference reference;
43 private String transform;
44 private List<SignatureTransformDataValue> signatureTransformDataValue = new ArrayList<SignatureTransformDataValue>(0);
45
46 @Id
47 @GeneratedValue(strategy=GenerationType.AUTO)
48 public Long getId() {
49 return id;
50 }
51
52 public void setId(Long id) {
53 this.id = id;
54 }
55
56 @ManyToOne(fetch = FetchType.LAZY)
57 @JoinColumn(name = "reference_key", nullable = false)
58 public Reference getReference() {
59 return reference;
60 }
61
62 public void setReference(Reference reference) {
63 this.reference = reference;
64 }
65
66 @Column(name="transform")
67 public String getTransform() {
68 return transform;
69 }
70
71 public void setTransform(String transform) {
72 this.transform = transform;
73 }
74
75 @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "signatureTransform")
76 @OrderBy
77 public List<SignatureTransformDataValue> getSignatureTransformDataValue() {
78 return signatureTransformDataValue;
79 }
80
81 public void setSignatureTransformDataValue(List<SignatureTransformDataValue> signatureDataValue) {
82 this.signatureTransformDataValue = signatureDataValue;
83 }
84 }