ibspan.ecap.shared.ontology.negotiation
Class ReservationInfo

java.lang.Object
  extended by ibspan.ecap.shared.ontology.negotiation.ReservationInfo
All Implemented Interfaces:
java.io.Serializable

public class ReservationInfo
extends java.lang.Object
implements java.io.Serializable

A class that contains information about a post-auction product reservation.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
ReservationInfo()
           
ReservationInfo(java.lang.String transactionId, java.util.Date expiryTime)
           
 
Method Summary
 java.util.Date getExpiryTime()
          Gets the reservation expiry time.
 java.lang.String getTransactionId()
          Gets the transaction id.
 void setExpiryTime(java.util.Date expiryTime)
          Sets the reservation expiry time.
 void setTransactionId(java.lang.String transactionId)
          Sets the transaction id.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservationInfo

public ReservationInfo(java.lang.String transactionId,
                       java.util.Date expiryTime)

ReservationInfo

public ReservationInfo()
Method Detail

getTransactionId

public java.lang.String getTransactionId()
Gets the transaction id.

Returns:
the transaction id

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Sets the transaction id.

Parameters:
transactionId - the new transaction id

getExpiryTime

public java.util.Date getExpiryTime()
Gets the reservation expiry time.

Returns:
the reservation expiry time

setExpiryTime

public void setExpiryTime(java.util.Date expiryTime)
Sets the reservation expiry time.

Parameters:
expiryTime - the new reservation expiry time

toString

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