org.datamanager.passiveentityvalue
Class EmailMessageFlagsEntityValue

java.lang.Object
  |
  +--org.datamanager.passiveentityvalue.EmailMessageFlagsEntityValue
All Implemented Interfaces:
EntityValue, PassiveEntityValue, Serializable

public class EmailMessageFlagsEntityValue
extends Object
implements PassiveEntityValue

Objects of this class store various email message flags and can be stored in Entities as they are EntityValues.

See Also:
Serialized Form

Constructor Summary
EmailMessageFlagsEntityValue(javax.mail.Flags flags)
          Initialize a new EmailMessageFlagsEntityValue with the Flag values of the given Flags object.
 
Method Summary
 boolean equals(Object object)
          Report whether this EmailMessageEntityValue has the same value as a given Object.
 boolean getFlag(javax.mail.Flags.Flag flag)
          Report whether an email message flag is set or not.
 int hashCode()
           
 void setFlag(javax.mail.Flags.Flag flag)
          Set an email message flag.
 String toString()
          Report a string representation of a set of email message flags.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailMessageFlagsEntityValue

public EmailMessageFlagsEntityValue(javax.mail.Flags flags)
Initialize a new EmailMessageFlagsEntityValue with the Flag values of the given Flags object.

Method Detail

setFlag

public void setFlag(javax.mail.Flags.Flag flag)
Set an email message flag.


getFlag

public boolean getFlag(javax.mail.Flags.Flag flag)
Report whether an email message flag is set or not.


equals

public boolean equals(Object object)
Report whether this EmailMessageEntityValue has the same value as a given Object.

Specified by:
equals in interface PassiveEntityValue
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface PassiveEntityValue
Overrides:
hashCode in class Object

toString

public String toString()
Report a string representation of a set of email message flags.

Overrides:
toString in class Object


See the Helium Website