Package edu.tufts.hrilab.polycraft.msg
Class Inventory
java.lang.Object
edu.tufts.hrilab.polycraft.msg.Msg
edu.tufts.hrilab.polycraft.msg.Inventory
Gson can't directly populate this class because it contains a java.util.Map, so it must
be populated manually after the JSON has been parsed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate all predicates from the inventory data.
-
Field Details
-
inventory
-
-
Constructor Details
-
Inventory
Inventory constructor.- Parameters:
inventory
- data that was parsed from JSON format
-
-
Method Details
-
generateAssertions
- Specified by:
generateAssertions
in classMsg
-
generateInventoryAssertions
Generate all predicates from the inventory data.- Returns:
-