Package at.jku.ssw.fp.sect05_2.workflow
Class Stuff
- java.lang.Object
-
- at.jku.ssw.fp.sect05_2.workflow.Stuff
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Treatment>
treatments
The list of treatments of this stuff
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Product
mix(Stuff stuff)
Creates a product by combining this stuff and a given stuff.Product
process(Treatment treatment)
Processes this stuff with a treatment.
-
-
-
Constructor Detail
-
Stuff
protected Stuff()
Constructor initializing the list of treatments to be empty.
-
Stuff
protected Stuff(Treatment[] treatments)
Constructor initializing the treatments.- Parameters:
treatments
- the treatments
-
-