View Javadoc

1   /*
2    * Copyright 2001-2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.juddi.datatype.subscription;
17  
18  import org.apache.juddi.datatype.RegistryObject;
19  
20  /***
21   * Example:
22   *
23   *   <subscriptionFilter>
24   *     <find_service xmlns="urn:uddi-org:api_v3" >
25   *       <categoryBag>
26   *         <keyedReference
27   *            tModeKey="uddi:ubr.uddi.org: taxonomy:unspsc"
28   *            keyName="Beer"
29   *            keyValue="50.20.20.02.00"/>
30   *       </categoryBag>
31   *     </find_service>
32   *   </subscriptionFilter>
33   *
34   * @author Steve Viens (sviens@apache.org)
35   */
36  public class SubscriptionFilter implements RegistryObject
37  {
38    RegistryObject request = null;
39  
40    /***
41     * default constructor
42     */
43    public SubscriptionFilter()
44    {
45    }
46  
47    /***
48     * default constructor
49     */
50    public SubscriptionFilter(RegistryObject request)
51    {
52      this.request = request;
53    }
54  
55    /***
56     * @return Returns the request.
57     */
58    public RegistryObject getRequest()
59    {
60      return request;
61    }
62  
63    /***
64     * @param request The request to set.
65     */
66    public void setRequest(RegistryObject request)
67    {
68      this.request = request;
69    }
70  }