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 java.util.Vector;
19  
20  import org.apache.juddi.datatype.RegistryObject;
21  import org.apache.juddi.datatype.assertion.PublisherAssertion;
22  
23  /***
24   * @author Steve Viens (sviens@apache.org)
25   */
26  public class DeletePublisherAssertions implements RegistryObject,Publish
27  {
28    String generic;
29    AuthInfo authInfo;
30    Vector publisherAssertionVector;
31  
32    /***
33     *
34     */
35    public DeletePublisherAssertions()
36    {
37    }
38  
39    /***
40     *
41     */
42    public DeletePublisherAssertions(AuthInfo  authInfo,Vector assertions)
43    {
44      this.authInfo = authInfo;
45      this.publisherAssertionVector = assertions;
46    }
47  
48    /***
49     *
50     * @param genericValue
51     */
52    public void setGeneric(String genericValue)
53    {
54      this.generic = genericValue;
55    }
56  
57    /***
58     *
59     * @return String UDDI request's generic value.
60     */
61    public String getGeneric()
62    {
63      return this.generic;
64    }
65  
66    /***
67     *
68     */
69    public void setAuthInfo(AuthInfo authInfo)
70    {
71      this.authInfo = authInfo;
72    }
73  
74    /***
75     *
76     */
77    public AuthInfo getAuthInfo()
78    {
79      return this.authInfo;
80    }
81  
82    /***
83     *
84     */
85    public void addPublisherAssertion(PublisherAssertion assertion)
86    {
87      if (this.publisherAssertionVector == null)
88        this.publisherAssertionVector = new Vector();
89      this.publisherAssertionVector.add(assertion);
90    }
91  
92    /***
93     *
94     */
95    public void setPublisherAssertionVector(Vector assertions)
96    {
97      this.publisherAssertionVector = assertions;
98    }
99  
100   /***
101    *
102    */
103   public Vector getPublisherAssertionVector()
104   {
105      return this.publisherAssertionVector;
106   }
107 }