Changed current operation from IOperation to OperationBase
This commit is contained in:
parent
2b57aa8dfe
commit
32468b44f0
@ -1,12 +1,13 @@
|
||||
package cz.cvut.fel.sit.omo.foodchain.product;
|
||||
|
||||
import cz.cvut.fel.sit.omo.foodchain.operation.IOperation;
|
||||
import cz.cvut.fel.sit.omo.foodchain.operation.OperationBase;
|
||||
|
||||
public class Product
|
||||
{
|
||||
private ProductState productState;
|
||||
private ProductType productType;
|
||||
private IOperation currentOperation;
|
||||
private OperationBase currentOperation;
|
||||
|
||||
private String name;
|
||||
|
||||
@ -112,12 +113,12 @@ public class Product
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public IOperation getCurrentOperation()
|
||||
public OperationBase getCurrentOperation()
|
||||
{
|
||||
return currentOperation;
|
||||
}
|
||||
|
||||
public void setCurrentOperation(IOperation currentOperation)
|
||||
public void setCurrentOperation(OperationBase currentOperation)
|
||||
{
|
||||
this.currentOperation = currentOperation;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user