ibspan.ecap.merchant.shopdecisions.dataadministration
Class BuyerRegistrationInfo

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.dataadministration.BuyerRegistrationInfo
All Implemented Interfaces:
java.io.Serializable

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

A class containing information about a registration of a buyer agent with the GA.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
BuyerRegistrationInfo()
           
 
Method Summary
 java.lang.String getClientId()
          Gets the id of the client the buyer belongs to.
 java.lang.String getProductId()
          Gets the id of the product the buyer wanted to buy
 java.util.Date getRegistrationTime()
          Gets the registration time.
 boolean isCreatedByShop()
          Checks if the buyer agent was created by shop.
 void setClientId(java.lang.String clientId)
          Sets the id of the client the buyer belongs to
 void setCreatedByShop(boolean isCreatedByShop)
          Sets if the buyer agent was created by shop.
 void setProductId(java.lang.String productId)
          Sets the id of the product the buyer wanted to buy
 void setRegistrationTime(java.util.Date registrationTime)
          Sets the registration time.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuyerRegistrationInfo

public BuyerRegistrationInfo()
Method Detail

getClientId

public java.lang.String getClientId()
Gets the id of the client the buyer belongs to.

Returns:
the id of the client the buyer belongs to

setClientId

public void setClientId(java.lang.String clientId)
Sets the id of the client the buyer belongs to

Parameters:
clientId - the id of the client the buyer belongs to

getProductId

public java.lang.String getProductId()
Gets the id of the product the buyer wanted to buy

Returns:
the id of the product the buyer wanted to buy

setProductId

public void setProductId(java.lang.String productId)
Sets the id of the product the buyer wanted to buy

Parameters:
productId - the id of the product the buyer wanted to buy

getRegistrationTime

public java.util.Date getRegistrationTime()
Gets the registration time.

Returns:
the registration time

setRegistrationTime

public void setRegistrationTime(java.util.Date registrationTime)
Sets the registration time.

Parameters:
registrationTime - the new registration time

isCreatedByShop

public boolean isCreatedByShop()
Checks if the buyer agent was created by shop.

Returns:
true, if the buyer agent was created by shop.

setCreatedByShop

public void setCreatedByShop(boolean isCreatedByShop)
Sets if the buyer agent was created by shop.

Parameters:
isCreatedByShop - true if the buyer agent was created by shop.