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 Summary
Constructors Constructor Description SellGoal(java.lang.String name, double price)
Create a new SellGoal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Get the name.double
getPrice()
Get the price.ItemInfo
getResult()
Get the result.void
setResult(ItemInfo result)
Set the result.
-
-
-
Field Detail
-
name
protected java.lang.String name
The text.
-
price
protected double price
The price.
-
result
protected ItemInfo result
The result.
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
getPrice
public double getPrice()
Get the price.- Returns:
- The price.
-
getResult
public ItemInfo getResult()
Get the result.- Returns:
- The result.
-
setResult
public void setResult(ItemInfo result)
Set the result.- Parameters:
result
- The result to set.
-
-