ibspan.ecap.shared.ontology.negotiation
Class NegotiationLog

java.lang.Object
  extended by ibspan.ecap.shared.ontology.negotiation.NegotiationLog
All Implemented Interfaces:
jade.content.Concept, jade.content.Term, java.io.Serializable

public class NegotiationLog
extends java.lang.Object
implements jade.content.Concept

A class containing information about a finished negotiation.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
NegotiationLog()
           
 
Method Summary
 float getAskingPrice()
          Gets the asking price.
 java.util.List<BidInfo> getBids()
          Gets the list of the bids made during the auction.
 java.util.Date getNegotiationEnd()
          Gets the time of the end of the negotiation.
 int getNegotiationId()
          Gets the id of the negotiation.
 java.util.Date getNegotiationStart()
          Gets the time of the beginning of the negotiation.
 java.lang.String getProductId()
          Gets the global id of the product.
 int getQuantityOffered()
          Gets the quantity offered.
 float getReservePrice()
          Gets the reserve price.
 java.lang.String getStrategyId()
          Gets the id of the strategy used.
 java.lang.String getTemplateId()
          Gets the id of the template used.
 void setAskingPrice(float askingPrice)
          Sets the value of asking price.
 void setBids(java.util.List<BidInfo> bids)
          Sets the list of the bids made during the auction.
 void setNegotiationEnd(java.util.Date negotiationEnd)
          Sets the time of the end of the negotiation.
 void setNegotiationId(int negotiationId)
          Sets the id of the negotiation.
 void setNegotiationStart(java.util.Date negotiationStart)
          Sets the time of the beginning of the negotiation.
 void setProductId(java.lang.String productId)
          Sets the global id of the product.
 void setQuantityOffered(int quantityOffered)
          Sets the quantity offered.
 void setReservePrice(float reservePrice)
          Sets the value of reserve price.
 void setStrategyId(java.lang.String strategyId)
          Sets the id of the strategy used.
 void setTemplateId(java.lang.String templateId)
          Sets the id of the template used
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegotiationLog

public NegotiationLog()
Method Detail

getNegotiationId

public int getNegotiationId()
Gets the id of the negotiation.

Returns:
the id of the negotiation.

setNegotiationId

public void setNegotiationId(int negotiationId)
Sets the id of the negotiation.

Parameters:
negotiationId - the id of the negotiation.

getProductId

public java.lang.String getProductId()
Gets the global id of the product.

Returns:
the global id of the product.

setProductId

public void setProductId(java.lang.String productId)
Sets the global id of the product.

Parameters:
productId - the global id of the product.

getNegotiationStart

public java.util.Date getNegotiationStart()
Gets the time of the beginning of the negotiation.

Returns:
the time of the beginning of the negotiation

setNegotiationStart

public void setNegotiationStart(java.util.Date negotiationStart)
Sets the time of the beginning of the negotiation.

Parameters:
negotiationStart - the time of the beginning of the negotiation.

getNegotiationEnd

public java.util.Date getNegotiationEnd()
Gets the time of the end of the negotiation.

Returns:
the time of the end of the negotiation

setNegotiationEnd

public void setNegotiationEnd(java.util.Date negotiationEnd)
Sets the time of the end of the negotiation.

Parameters:
negotiationEnd - the time of the end of the negotiation.

getQuantityOffered

public int getQuantityOffered()
Gets the quantity offered.

Returns:
the quantity offered

setQuantityOffered

public void setQuantityOffered(int quantityOffered)
Sets the quantity offered.

Parameters:
quantityOffered - the quantity offered to set

getStrategyId

public java.lang.String getStrategyId()
Gets the id of the strategy used.

Returns:
the id of the strategy used.

setStrategyId

public void setStrategyId(java.lang.String strategyId)
Sets the id of the strategy used.

Parameters:
strategyId - the id of the strategy used to set

getTemplateId

public java.lang.String getTemplateId()
Gets the id of the template used.

Returns:
the id of the template used.

setTemplateId

public void setTemplateId(java.lang.String templateId)
Sets the id of the template used

Parameters:
templateId - the id of the template used

getReservePrice

public float getReservePrice()
Gets the reserve price.

Returns:
the reserve price

setReservePrice

public void setReservePrice(float reservePrice)
Sets the value of reserve price.

Parameters:
reservePrice - the reserve price to set

getAskingPrice

public float getAskingPrice()
Gets the asking price.

Returns:
the asking price

setAskingPrice

public void setAskingPrice(float askingPrice)
Sets the value of asking price.

Parameters:
askingPrice - the asking price to set

getBids

public java.util.List<BidInfo> getBids()
Gets the list of the bids made during the auction.

Returns:
the list of the bids made during the auction.

setBids

public void setBids(java.util.List<BidInfo> bids)
Sets the list of the bids made during the auction.

Parameters:
bids - the list of the bids made during the auction

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object