KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > mailinglists > model > MailingList


1 package com.dotmarketing.portlets.mailinglists.model;
2
3 import java.io.Serializable JavaDoc;
4
5 import com.dotmarketing.beans.Inode;
6
7 /** @author Hibernate CodeGenerator */
8 public class MailingList extends Inode implements Serializable JavaDoc {
9
10     private static final long serialVersionUID = 1L;
11     
12     private String JavaDoc userId, title;
13     private int subscriberCount;
14     private boolean publicList;
15
16     public MailingList() {
17         super.setType("mailing_list");
18     };
19
20     /**
21      * Returns the publicList.
22      * @return boolean
23      */

24     public boolean isPublicList() {
25         return publicList;
26     }
27
28     /**
29      * Returns the subscriberCount.
30      * @return int
31      */

32     public int getSubscriberCount() {
33         return subscriberCount;
34     }
35
36     /**
37      * Returns the title.
38      * @return String
39      */

40     public String JavaDoc getTitle() {
41         return title;
42     }
43
44     /**
45      * Returns the userId.
46      * @return String
47      */

48     public String JavaDoc getUserId() {
49         return userId;
50     }
51
52     /**
53      * Sets the publicList.
54      * @param publicList The publicList to set
55      */

56     public void setPublicList(boolean publicList) {
57         this.publicList = publicList;
58     }
59
60     /**
61      * Sets the subscriberCount.
62      * @param subscriberCount The subscriberCount to set
63      */

64     public void setSubscriberCount(int subscriberCount) {
65         this.subscriberCount = subscriberCount;
66     }
67
68     /**
69      * Sets the title.
70      * @param title The title to set
71      */

72     public void setTitle(String JavaDoc title) {
73         this.title = title;
74     }
75
76     /**
77      * Sets the userId.
78      * @param userId The userId to set
79      */

80     public void setUserId(String JavaDoc userId) {
81         this.userId = userId;
82     }
83
84 }
85
Popular Tags