Interface SupplyManager
-
- All Known Implementing Classes:
VariableListenerSupport
public interface SupplyManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Supply_ extends Supply>
Supply_demand(Demand<Supply_> demand)
-
-
-
Method Detail
-
demand
<Supply_ extends Supply> Supply_ demand(Demand<Supply_> 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:
Supply_- Subclass ofSupply- Parameters:
demand- never null- Returns:
- never null
-
-