Uses of Class
org.mars_sim.msp.simulation.InventoryException

Packages that use InventoryException
org.mars_sim.msp.simulation Contains classes for creating a virtual Mars. 
org.mars_sim.msp.simulation.person.ai.task Contains classes involving tasks a person can perform. 
org.mars_sim.msp.simulation.structure.goods Contains classes for all used goods in the simulation 
 

Uses of InventoryException in org.mars_sim.msp.simulation
 

Methods in org.mars_sim.msp.simulation that throw InventoryException
 void Inventory.addAmountResourcePhaseCapacity(Phase phase, double capacity)
          Adds capacity for a resource phase.
 void Inventory.addAmountResourceTypeCapacity(AmountResource resource, double capacity)
          Adds capacity for a resource type.
 boolean Inventory.canStoreUnit(Unit unit)
          Checks if a unit can be stored.
 Inventory Inventory.clone(Unit owner)
          Creates a clone of this inventory (not including the inventory contents).
 int Inventory.findNumEmptyUnitsOfClass(java.lang.Class unitClass)
          Finds the number of units of a class that are contained in storage and have an empty inventory.
 java.util.Set<AmountResource> Inventory.getAllAmountResourcesStored()
          Gets all of the amount resources stored.
 java.util.Set<ItemResource> Inventory.getAllItemResourcesStored()
          Gets a set of all the item resources in storage.
 double Inventory.getAmountResourceCapacity(AmountResource resource)
          Gets the storage capacity for a resource.
 double Inventory.getAmountResourceRemainingCapacity(AmountResource resource, boolean useContainedUnits)
          Gets the remaining capacity available for a resource.
 double Inventory.getAmountResourceStored(AmountResource resource)
          Gets the amount of a resource stored.
 double Inventory.getGeneralStoredMass()
          Gets the mass stored in general capacity.
 int Inventory.getItemResourceNum(ItemResource resource)
          Gets the number of an item resource in storage.
 double Inventory.getRemainingGeneralCapacity()
          Gets the remaining general capacity available.
 double Inventory.getTotalInventoryMass()
          Gets the total mass stored in inventory.
 double Inventory.getUnitTotalMass()
          Gets the total unit mass in storage.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource)
          Checks if storage has capacity for a resource.
 boolean Inventory.hasAmountResourceCapacity(AmountResource resource, double amount)
          Checks if storage has capacity for an amount of a resource.
 boolean Inventory.hasItemResource(ItemResource resource)
          Checks if storage has an item resource.
 boolean Inventory.isEmpty()
          Checks if inventory is empty.
 void Inventory.retrieveAmountResource(AmountResource resource, double amount)
          Retrieves an amount of a resource from storage.
 void Inventory.retrieveItemResources(ItemResource resource, int number)
          Retrieves item resources.
 void Inventory.retrieveUnit(Unit unit)
          Retrieves a unit from storage.
 void Inventory.storeAmountResource(AmountResource resource, double amount, boolean useContainedUnits)
          Store an amount of a resource.
 void Inventory.storeItemResources(ItemResource resource, int number)
          Stores item resources.
 void Inventory.storeUnit(Unit unit)
          Stores a unit.
 

Uses of InventoryException in org.mars_sim.msp.simulation.person.ai.task
 

Methods in org.mars_sim.msp.simulation.person.ai.task that throw InventoryException
static boolean UnloadVehicle.isFullyUnloaded(Vehicle vehicle)
          Returns true if the vehicle is fully unloaded.
 

Uses of InventoryException in org.mars_sim.msp.simulation.structure.goods
 

Methods in org.mars_sim.msp.simulation.structure.goods that throw InventoryException
 double GoodsManager.getNumberOfGoodForSettlement(Good good)
          Gets the number of a good at the settlement.