Class BuyerAgent.PurchaseBook
- java.lang.Object
-
- jadex.bdiv3.examples.booktrading.buyer.BuyerAgent.PurchaseBook
-
- All Implemented Interfaces:
INegotiationGoal
- Enclosing class:
- BuyerAgent
public class BuyerAgent.PurchaseBook extends java.lang.Object implements INegotiationGoal
-
-
Constructor Summary
Constructors Constructor Description PurchaseBook(Order order)
Create a new PurchaseBook.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkDrop()
boolean
checkTarget()
Order
getOrder()
Get the order.
-
-
-
Field Detail
-
order
protected Order order
-
-
Constructor Detail
-
PurchaseBook
public PurchaseBook(Order order)
Create a new PurchaseBook.
-
-
Method Detail
-
getOrder
public Order getOrder()
Get the order.- Specified by:
getOrder
in interfaceINegotiationGoal
- Returns:
- The order.
-
checkDrop
public boolean checkDrop()
-
checkTarget
public boolean checkTarget()
-
-