View Javadoc
1   /*
2    * Copyright 2015 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.subscription.notify;
17  
18  import org.apache.juddi.model.Publisher;
19  import org.apache.juddi.model.Subscription;
20  
21  /**
22   *
23   * @author alex
24   */
25  public class TemporaryMailContainer {
26  
27          public TemporaryMailContainer(Subscription obj, Publisher publisher, Publisher deletedBy) {
28  
29                  this.obj=obj;
30                  this.publisher = publisher;
31                  this.deletedBy=deletedBy;
32          }
33          private Subscription obj;
34          private Publisher publisher;
35          private Publisher deletedBy;
36  
37  
38          public Subscription getObj() {
39                  return obj;
40          }
41  
42          public void setObj(Subscription obj) {
43                  this.obj = obj;
44          }
45  
46          public Publisher getPublisher() {
47                  return publisher;
48          }
49  
50          public void setPublisher(Publisher publisher) {
51                  this.publisher = publisher;
52          }
53  
54          public Publisher getDeletedBy() {
55                  return deletedBy;
56          }
57  
58          public void setDeletedBy(Publisher deletedBy) {
59                  this.deletedBy = deletedBy;
60          }
61  }