Interface SupplyManager
- 
- All Known Implementing Classes:
 VariableListenerSupport
public interface SupplyManager 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S extends Supply>
Sdemand(Demand<S> demand) 
 - 
 
- 
- 
Method Detail
- 
demand
<S extends Supply> S demand(Demand<S> demand)
Returns theSupplyfor aDemand, preferably an existing one. If theSupplydoesn't exist yet (as part of the domain model or externalized), it creates and attaches it.- Type Parameters:
 S- Subclass ofSupply- Parameters:
 demand- never null- Returns:
 - never null
 
 
 - 
 
 -