|
jSyncManager Simple Java Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.c4j.ContractBase<Message>
org.jSyncManager.SJS.Adapters.SMTPServer.contracts.MessageContract
public class MessageContract
Contract for the Message Class
Field Summary |
---|
Fields inherited from class net.sourceforge.c4j.ContractBase |
---|
m_target |
Constructor Summary | |
---|---|
MessageContract(Message t)
Constructor, get a reference for the Message object |
Method Summary | |
---|---|
void |
classInvariant()
Invariant checks. |
void |
post_Message(Address from,
java.util.List<Address> to,
java.lang.String body)
Post-Message (third) constructor condition.. |
void |
post_Message(java.util.Date sent,
java.util.Date received,
Address from,
java.util.List<Address> to,
java.lang.String body)
Post-Message (second) constructor condition. |
void |
post_setFrom(Address from)
Post-condition for setFrom. |
void |
post_setFrom(java.lang.String from)
Post-condition for setFrom. |
void |
post_setReceived(java.util.Date received)
Post-condition for setReceived. |
void |
post_setSent(java.util.Date sent)
Post-condition for setSent. |
void |
post_setTo(java.util.List<Address> to)
Post-condition for setTo method. |
void |
post_toString()
Post-condition for toString method. |
void |
pre_addTo(Address address)
Pre-condition for addTo method. |
void |
pre_appendData(java.lang.String data)
Pre-condition for appendData method. |
void |
pre_getToIter()
Pre-condition for getToIter method. |
void |
pre_Message()
Pre-Message constructor condition. |
void |
pre_Message(Address from,
java.util.List<Address> to,
java.lang.String body)
Pre-Message (third) constructor condition. |
void |
pre_Message(java.util.Date sent,
java.util.Date received,
Address from,
java.util.List<Address> to,
java.lang.String body)
Pre-Message (second) constructor condition. |
void |
pre_setFrom(Address from)
Pre-condition for setFrom. |
void |
pre_setFrom(java.lang.String from)
Pre-condition for setFrom. |
void |
pre_setReceived(java.util.Date received)
Pre-condition for setReceived. |
void |
pre_setSent(java.util.Date sent)
Pre-condition for setSent. |
void |
pre_setTo(java.util.List<Address> to)
Pre-condition for setTo. |
void |
pre_toString()
Pre-condition for toString method. |
Methods inherited from class net.sourceforge.c4j.ContractBase |
---|
addLogger, classInvariantCheck, getPreconditionValue, getReturnValue, getTargetField, popPreconditionValuesMap, popReturnValue, postConditionCheck, preConditionCheck, pushPreconditionValuesMap, pushReturnValue, setPreconditionValue, setReturnValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageContract(Message t)
t
- the object.Method Detail |
---|
public void classInvariant()
public void pre_Message()
public void pre_Message(java.util.Date sent, java.util.Date received, Address from, java.util.List<Address> to, java.lang.String body)
sent
- See Message class.received
- See Message class.from
- See Message class.to
- See Message class.body
- See Message class.public void post_Message(java.util.Date sent, java.util.Date received, Address from, java.util.List<Address> to, java.lang.String body)
sent
- See Message class.received
- See Message class.from
- See Message class.to
- See Message class.body
- See Message class.public void pre_Message(Address from, java.util.List<Address> to, java.lang.String body)
from
- See Message class.to
- See Message class.body
- See Message class.public void post_Message(Address from, java.util.List<Address> to, java.lang.String body)
from
- See Message class.to
- See Message class.body
- See Message class.public void pre_setFrom(Address from)
from
- See Message class.public void post_setFrom(Address from)
from
- See Message class.public void pre_setFrom(java.lang.String from)
from
- See Message class.public void post_setFrom(java.lang.String from)
from
- See Message class.public void pre_setReceived(java.util.Date received)
received
- See Message class.public void post_setReceived(java.util.Date received)
received
- See Message class.public void pre_setSent(java.util.Date sent)
sent
- See Message class.public void post_setSent(java.util.Date sent)
sent
- See Message class.public void pre_setTo(java.util.List<Address> to)
to
- See Message class.public void post_setTo(java.util.List<Address> to)
to
- See Message class.public void pre_getToIter()
public void pre_addTo(Address address)
address
- See Message class.public void pre_appendData(java.lang.String data)
data
- See Message class.public void pre_toString()
public void post_toString()
|
jSyncManager Simple Java Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |