Package jadex.bdiv3.examples.shop
Class ShopCapa.SellGoal
- java.lang.Object
- 
- jadex.bdiv3.examples.shop.ShopCapa.SellGoal
 
- 
- Enclosing class:
- ShopCapa
 
 public class ShopCapa.SellGoal extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description SellGoal(java.lang.String name, double price)Create a new SellGoal.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name.doublegetPrice()Get the price.ItemInfogetResult()Get the result.voidsetResult(ItemInfo result)Set the result.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name The text.
 - 
priceprotected double price The price.
 - 
resultprotected ItemInfo result The result.
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name.
 
 - 
getPricepublic double getPrice() Get the price.- Returns:
- The price.
 
 - 
getResultpublic ItemInfo getResult() Get the result.- Returns:
- The result.
 
 - 
setResultpublic void setResult(ItemInfo result) Set the result.- Parameters:
- result- The result to set.
 
 
- 
 
-