All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.bargainer.messages.NegotiateMessage

java.lang.Object
   |
   +----semper.commerce.Transaction
           |
           +----semper.commerce.GenericTransaction
                   |
                   +----semper.BApp.bargainer.messages.UnsignedMessage
                           |
                           +----semper.BApp.bargainer.messages.NegotiateMessage

public class NegotiateMessage
extends UnsignedMessage

Variable Index

 o productInfo
 o termsAndConditionsInfo

Constructor Index

 o NegotiateMessage(ActiveDeal, Transaction)
Constructs a new NegotiateMessage object.
 o NegotiateMessage(ActiveDeal, Transaction, String, PersonalInfo, PersonalInfo, String, ProductInfo, TermsAndConditionsInfo)

Method Index

 o equals(NegotiateMessage)
 o getContents()
 o getDifferencesFrom(NegotiateMessage)
 o getProductInfo()
Returns the productInfo of NegotiateMessage.
 o getTermsAndConditionsInfo()
Returns the termsAndConditionsInfo of NegotiateMessage.
 o setProductInfo(ProductInfo)
Sets the productInfo of NegotiateMessage.
 o setTermsAndConditionsInfo(TermsAndConditionsInfo)
Sets the termsAndConditionsInfo of NegotiateMessage.

Variables

 o productInfo
 public ProductInfo productInfo
 o termsAndConditionsInfo
 public TermsAndConditionsInfo termsAndConditionsInfo

Constructors

 o NegotiateMessage
 public NegotiateMessage(ActiveDeal deal,
                         Transaction ref) throws AssociationException, TransactionException
Constructs a new NegotiateMessage object.

 o NegotiateMessage
 public NegotiateMessage(ActiveDeal deal,
                         Transaction ref,
                         String messageType,
                         PersonalInfo buyer,
                         PersonalInfo seller,
                         String comment,
                         ProductInfo productInfo,
                         TermsAndConditionsInfo termsAndConditionsInfo) throws AssociationException, TransactionException

Methods

 o setProductInfo
 public void setProductInfo(ProductInfo productInfo)
Sets the productInfo of NegotiateMessage.

Parameters:
productInfo - the productInfo of NegotiateMessage
 o getProductInfo
 public ProductInfo getProductInfo()
Returns the productInfo of NegotiateMessage.

 o setTermsAndConditionsInfo
 public void setTermsAndConditionsInfo(TermsAndConditionsInfo termsAndConditionsInfo)
Sets the termsAndConditionsInfo of NegotiateMessage.

Parameters:
termsAndConditionsInfo - the termsAndConditionsInfo of NegotiateMessage
 o getTermsAndConditionsInfo
 public TermsAndConditionsInfo getTermsAndConditionsInfo()
Returns the termsAndConditionsInfo of NegotiateMessage.

 o getContents
 public String getContents()
Overrides:
getContents in class UnsignedMessage
 o getDifferencesFrom
 public String getDifferencesFrom(NegotiateMessage old)
 o equals
 public boolean equals(NegotiateMessage old)

All Packages  Class Hierarchy  This Package  Previous  Next  Index