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.request;
17  
18  import org.apache.juddi.datatype.RegistryObject;
19  import org.apache.juddi.datatype.subscription.CoveragePeriod;
20  
21  /***
22   * Used to register or update complete information about a publisher.
23   *
24   * @author Steve Viens (sviens@apache.org)
25   */
26  public class GetSubscriptionResults implements RegistryObject,Subscribe
27  {
28    String generic;
29    AuthInfo authInfo;
30    String subscriptionKey;
31    CoveragePeriod coveragePeriod;
32    String chunkToken;
33  
34    /***
35     *
36     */
37    public GetSubscriptionResults()
38    {
39    }
40  
41    /***
42     *
43     * @param genericValue
44     */
45    public void setGeneric(String genericValue)
46    {
47      this.generic = genericValue;
48    }
49  
50    /***
51     *
52     * @return String request's generic value.
53     */
54    public String getGeneric()
55    {
56      return this.generic;
57    }
58  
59    /***
60     *
61     */
62    public void setAuthInfo(AuthInfo authInfo)
63    {
64      this.authInfo = authInfo;
65    }
66  
67    /***
68     *
69     */
70    public AuthInfo getAuthInfo()
71    {
72      return this.authInfo;
73    }
74  
75    /***
76     * @return Returns the chunkToken.
77     */
78    public String getChunkToken()
79    {
80      return chunkToken;
81    }
82  
83    /***
84     * @param chunkToken The chunkToken to set.
85     */
86    public void setChunkToken(String chunkToken)
87    {
88      this.chunkToken = chunkToken;
89    }
90  
91    /***
92     * @return Returns the coveragePeriod.
93     */
94    public CoveragePeriod getCoveragePeriod()
95    {
96      return coveragePeriod;
97    }
98  
99    /***
100    * @param coveragePeriod The coveragePeriod to set.
101    */
102   public void setCoveragePeriod(CoveragePeriod coveragePeriod)
103   {
104     this.coveragePeriod = coveragePeriod;
105   }
106 
107   /***
108    * @return Returns the subscriptionKey.
109    */
110   public String getSubscriptionKey()
111   {
112     return subscriptionKey;
113   }
114 
115   /***
116    * @param subscriptionKey The subscriptionKey to set.
117    */
118   public void setSubscriptionKey(String subscriptionKey)
119   {
120     this.subscriptionKey = subscriptionKey;
121   }
122 }