jadex.bdi.planlib.protocols
Class AuctionInfo

java.lang.Object
  extended by jadex.bdi.planlib.protocols.AuctionInfo

public class AuctionInfo
extends java.lang.Object

Information about an auction.


Field Summary
protected  long roundtimeout
          The auction round timeout.
protected  long starttime
          The auction starttime.
protected  java.lang.Object topic
          The auction content.
 
Constructor Summary
AuctionInfo()
          Create a new auction info.
AuctionInfo(long starttime, long roundtimeout, java.lang.Object topic)
          Create a new auction info.
 
Method Summary
 long getRoundTimeout()
          Get the round timeout.
 long getStarttime()
          Get the start time.
 java.lang.Object getTopic()
          Get the auction topic.
 void setRoundTimeout(long roundtimeout)
          Set the round timeout.
 void setStarttime(long starttime)
          Set the start time.
 void setTopic(java.lang.Object topic)
          Set the auction topic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

starttime

protected long starttime
The auction starttime.


roundtimeout

protected long roundtimeout
The auction round timeout.


topic

protected java.lang.Object topic
The auction content.

Constructor Detail

AuctionInfo

public AuctionInfo()
Create a new auction info.


AuctionInfo

public AuctionInfo(long starttime,
                   long roundtimeout,
                   java.lang.Object topic)
Create a new auction info.

Parameters:
starttime - The start time.
roundtimeout - The timeout of a single auction round.
topic - The auction topic.
Method Detail

getRoundTimeout

public long getRoundTimeout()
Get the round timeout.

Returns:
The round timeout.

setRoundTimeout

public void setRoundTimeout(long roundtimeout)
Set the round timeout.

Parameters:
roundtimeout - The round timeout to set.

getStarttime

public long getStarttime()
Get the start time.

Returns:
The start time.

setStarttime

public void setStarttime(long starttime)
Set the start time.

Parameters:
starttime - The starttime to set.

getTopic

public java.lang.Object getTopic()
Get the auction topic.

Returns:
The topic.

setTopic

public void setTopic(java.lang.Object topic)
Set the auction topic.

Parameters:
topic - The topic to set.


Copyright © 2010. All Rights Reserved.