Package jadex.bdiv3.examples.shop
Class ShopCapa
- java.lang.Object
- 
- jadex.bdiv3.examples.shop.ShopCapa
 
- 
 public class ShopCapa extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classShopCapa.SellGoal
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ItemInfo>getCatalog()Get the catalog.doublegetMoney()java.lang.StringgetShopname()Get the shop name.voidsell(ShopCapa.SellGoal goal)Plan for handling a sell goal.voidsetMoney(double money)
 
- 
- 
- 
Field Detail- 
shopnameprotected java.lang.String shopname The shop name.
 - 
catalogprotected java.util.List<ItemInfo> catalog The shop catalog.
 
- 
 - 
Constructor Detail- 
ShopCapapublic ShopCapa(java.lang.String shopname, java.util.List<ItemInfo> catalog)Create a shop capability.
 
- 
 - 
Method Detail- 
getMoneypublic double getMoney() 
 - 
setMoneypublic void setMoney(double money) 
 - 
getShopnamepublic java.lang.String getShopname() Get the shop name.
 - 
getCatalogpublic java.util.List<ItemInfo> getCatalog() Get the catalog.
 - 
sellpublic void sell(ShopCapa.SellGoal goal) Plan for handling a sell goal.- Parameters:
- goal- The goal.
 
 
- 
 
-