KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > campaigns > model > Recipient


1 package com.dotmarketing.portlets.campaigns.model;
2
3 import java.io.Serializable JavaDoc;
4
5 import com.dotmarketing.beans.Inode;
6
7 /** @author Hibernate CodeGenerator */
8 public class Recipient extends Inode implements Serializable JavaDoc {
9
10
11     private static final long serialVersionUID = 1L;
12
13     private java.util.Date JavaDoc sent;
14     private java.util.Date JavaDoc opened;
15
16     /** nullable persistent field */
17     private String JavaDoc name;
18     
19     /** nullable persistent field */
20     private String JavaDoc lastname;
21
22     /** nullable persistent field */
23     private String JavaDoc email;
24
25     /** nullable persistent field */
26     private int lastResult;
27
28     /** nullable persistent field */
29     private String JavaDoc lastMessage;
30
31
32     /**
33      * @return Returns the email.
34      */

35     public String JavaDoc getEmail() {
36         return email;
37     }
38     /**
39      * @param email The email to set.
40      */

41     public void setEmail(String JavaDoc email) {
42         this.email = email;
43     }
44     /**
45      * @return Returns the lastMessage.
46      */

47     public String JavaDoc getLastMessage() {
48         return lastMessage;
49     }
50     /**
51      * @param lastMessage The lastMessage to set.
52      */

53     public void setLastMessage(String JavaDoc lastMessage) {
54         this.lastMessage = lastMessage;
55     }
56     /**
57      * @return Returns the lastResult.
58      */

59     public int getLastResult() {
60         return lastResult;
61     }
62     /**
63      * @param lastResult The lastResult to set.
64      */

65     public void setLastResult(int lastResult) {
66         this.lastResult = lastResult;
67     }
68     /**
69      * @return Returns the name.
70      */

71     public String JavaDoc getName() {
72         return name;
73     }
74     /**
75      * @param name The name to set.
76      */

77     public void setName(String JavaDoc name) {
78         this.name = name;
79     }
80     public Recipient() {
81         super.setType("recipient");
82     }
83
84    
85
86
87     /**
88      * Returns the inode.
89      * @return long
90      */

91     public long getInode() {
92         return inode;
93     }
94
95     /**
96      * Returns the opened.
97      * @return java.util.Date
98      */

99     public java.util.Date JavaDoc getOpened() {
100         return opened;
101     }
102
103     /**
104      * Returns the sent.
105      * @return java.util.Date
106      */

107     public java.util.Date JavaDoc getSent() {
108         return sent;
109     }
110
111     /**
112      * Sets the inode.
113      * @param inode The inode to set
114      */

115     public void setInode(long inode) {
116         this.inode = inode;
117     }
118
119     /**
120      * Sets the opened.
121      * @param opened The opened to set
122      */

123     public void setOpened(java.util.Date JavaDoc opened) {
124         this.opened = opened;
125     }
126
127     /**
128      * Sets the sent.
129      * @param sent The sent to set
130      */

131     public void setSent(java.util.Date JavaDoc sent) {
132         this.sent = sent;
133     }
134     
135     /**
136      * Return the lastname
137      * @return lastname
138      */

139     public String JavaDoc getLastname() {
140         return lastname;
141     }
142     
143     /**
144      * Set the lastname
145      * @param lastname
146      */

147     public void setLastname(String JavaDoc lastname) {
148         this.lastname = lastname;
149     }
150
151 }
152
Popular Tags