nl.ppmoost.ventureplan2
Class VpMessage

java.lang.Object
  extended by nl.ppmoost.ventureplan2.VpMessage

public class VpMessage
extends Object

Author:
S. Pluym Class for P_MESSAGE table of gzm

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
VpMessage()
           
VpMessage(String mail, String message, long messageQNr, Date sendDate, int status, String subject, String type)
           
 
Method Summary
 String getBcc()
           
 String getCc()
           
 String getEMail()
           
 String getMessage()
           
 long getMessageQNr()
           
static List<VpMessage> getMessages(String pTypes)
          Gets the messages from the database for a type
 Date getSendDate()
           
 int getStatus()
           
 String getSubject()
           
 String getType()
           
 void setBcc(String iBcc)
           
 void setCc(String iCc)
           
 void setEMail(String mail)
           
 void setMessage(String message)
           
 void setMessageQNr(long messageQNr)
           
 void setSendDate(Date sendDate)
           
 void setStatus(int status)
           
 void setSubject(String subject)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

VpMessage

public VpMessage(String mail,
                 String message,
                 long messageQNr,
                 Date sendDate,
                 int status,
                 String subject,
                 String type)
Parameters:
mail -
eventDate -
message -
messageQNr -
nrDays -
persID -
sendDate -
srcAppl -
status -
subject -
type -
xml -

VpMessage

public VpMessage()
Method Detail

getMessage

public String getMessage()
Returns:
the message

setMessage

public void setMessage(String message)
Parameters:
message - the message to set

getSubject

public String getSubject()
Returns:
the subject

setSubject

public void setSubject(String subject)
Parameters:
subject - the subject to set

getMessageQNr

public long getMessageQNr()
Returns:
the messageQNr

setMessageQNr

public void setMessageQNr(long messageQNr)
Parameters:
messageQNr - the messageQNr to set

getType

public String getType()
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set

getEMail

public String getEMail()
Returns:
the eMail

setEMail

public void setEMail(String mail)
Parameters:
mail - the eMail to set

getCc

public String getCc()

setCc

public void setCc(String iCc)

getBcc

public String getBcc()

setBcc

public void setBcc(String iBcc)

getStatus

public int getStatus()
Returns:
the status

setStatus

public void setStatus(int status)
Parameters:
status - the status to set

getSendDate

public Date getSendDate()
Returns:
the sendDate

setSendDate

public void setSendDate(Date sendDate)
Parameters:
sendDate - the sendDate to set

getMessages

public static List<VpMessage> getMessages(String pTypes)
Gets the messages from the database for a type

Parameters:
pEventType - the type of the messages to be retrieved.
Returns:
a list of Scheduled Events


Copyright © 2014. All rights reserved.