This project has retired. For details please refer to its Attic page.
Node xref
View Javadoc
1   package org.apache.juddi.model;
2   /*
3    * Copyright 2001-2009 The Apache Software Foundation.
4    * 
5    * Licensed under the Apache License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  import javax.persistence.Column;
19  import javax.persistence.Entity;
20  import javax.persistence.Id;
21  import javax.persistence.Table;
22  import javax.persistence.Transient;
23  
24  /**
25   * @author <a href="mailto:kurt@apache.org">Kurt T Stam</a>
26   */
27  @Entity
28  @Table(name = "j3_node")
29  public class Node implements java.io.Serializable {
30  
31          @Transient
32          private static final long serialVersionUID = -893203927029468343L;
33          @Id
34          @Column(name = "name", nullable = false, length = 255)
35          private String name;
36          @Column(name = "client_name", nullable = false, length = 255)
37          private String clientName;
38          @Column(name = "security_url", nullable = true, length = 255)
39          private String securityUrl;
40          @Column(name = "inquiry_url", nullable = false, length = 255)
41          private String inquiryUrl;
42          @Column(name = "publish_url", nullable = false, length = 255)
43          private String publishUrl;
44          @Column(name = "custody_transfer_url", nullable = true, length = 255)
45          private String custodyTransferUrl;
46          @Column(name = "subscription_url", nullable = true, length = 255)
47          private String subscriptionUrl;
48  
49          @Column(name = "subscriptionlist_url", nullable = true, length = 255)
50          private String subscriptionListenerUrl;
51          @Column(name = "replication_url", nullable = true, length = 255)
52          private String replicationUrl;
53          @Column(name = "proxy_transport", nullable = false, length = 255)
54          private String proxyTransport;
55  
56          @Column(name = "juddi_api_url", nullable = true, length = 255)
57          private String juddiApiUrl;
58          @Column(name = "factory_initial", nullable = true, length = 255)
59          private String factoryInitial;
60          @Column(name = "factory_url_pkgs", nullable = true, length = 255)
61          private String factoryURLPkgs;
62          @Column(name = "factory_naming_provider", nullable = true, length = 255)
63          private String factoryNamingProvider;
64  
65          public Node() {
66          }
67  
68          public Node(String custodyTransferUrl, String inquiryUrl,
69                  String juddiApiUrl, String name, String proxyTransport,
70                  String publishUrl, String securityUrl, String subscriptionUrl, String replicationURL) {
71                  super();
72                  this.custodyTransferUrl = custodyTransferUrl;
73                  this.inquiryUrl = inquiryUrl;
74                  this.juddiApiUrl = juddiApiUrl;
75                  this.name = name;
76                  this.proxyTransport = proxyTransport;
77                  this.publishUrl = publishUrl;
78                  this.securityUrl = securityUrl;
79                  this.subscriptionUrl = subscriptionUrl;
80                  this.replicationUrl = replicationURL;
81          }
82  
83          public String getName() {
84                  return name;
85          }
86  
87          public void setName(String name) {
88                  this.name = name;
89          }
90  
91          public String getClientName() {
92                  return clientName;
93          }
94  
95          public void setClientName(String clientName) {
96                  this.clientName = clientName;
97          }
98  
99          public String getProxyTransport() {
100                 return proxyTransport;
101         }
102 
103         public void setProxyTransport(String proxyTransport) {
104                 this.proxyTransport = proxyTransport;
105         }
106 
107         public String getSecurityUrl() {
108                 return securityUrl;
109         }
110 
111         public void setSecurityUrl(String securityUrl) {
112                 this.securityUrl = securityUrl;
113         }
114 
115         public String getInquiryUrl() {
116                 return inquiryUrl;
117         }
118 
119         public void setInquiryUrl(String inquiryUrl) {
120                 this.inquiryUrl = inquiryUrl;
121         }
122 
123         public String getPublishUrl() {
124                 return publishUrl;
125         }
126 
127         public void setPublishUrl(String publishUrl) {
128                 this.publishUrl = publishUrl;
129         }
130 
131         public String getCustodyTransferUrl() {
132                 return custodyTransferUrl;
133         }
134 
135         public void setCustodyTransferUrl(String custodyTransferUrl) {
136                 this.custodyTransferUrl = custodyTransferUrl;
137         }
138 
139         public String getSubscriptionUrl() {
140                 return subscriptionUrl;
141         }
142 
143         public void setSubscriptionUrl(String subscriptionUrl) {
144                 this.subscriptionUrl = subscriptionUrl;
145         }
146 
147         public String getSubscriptionListenerUrl() {
148                 return subscriptionListenerUrl;
149         }
150 
151         public void setSubscriptionListenerUrl(String subscriptionUrl) {
152                 this.subscriptionListenerUrl = subscriptionUrl;
153         }
154 
155         public String getReplicationUrl() {
156                 return replicationUrl;
157         }
158 
159         public void setReplicationUrl(String replicationUrl) {
160                 this.replicationUrl = replicationUrl;
161         }
162 
163         public String getJuddiApiUrl() {
164                 return juddiApiUrl;
165         }
166 
167         public void setJuddiApiUrl(String juddiApiUrl) {
168                 this.juddiApiUrl = juddiApiUrl;
169         }
170 
171         public String getFactoryInitial() {
172                 return factoryInitial;
173         }
174 
175         public void setFactoryInitial(String factoryInitial) {
176                 this.factoryInitial = factoryInitial;
177         }
178 
179         public String getFactoryURLPkgs() {
180                 return factoryURLPkgs;
181         }
182 
183         public void setFactoryURLPkgs(String factoryURLPkgs) {
184                 this.factoryURLPkgs = factoryURLPkgs;
185         }
186 
187         public String getFactoryNamingProvider() {
188                 return factoryNamingProvider;
189         }
190 
191         public void setFactoryNamingProvider(String factoryNamingProvider) {
192                 this.factoryNamingProvider = factoryNamingProvider;
193         }
194 
195 }