Interface SupplyManager<Solution_>
-
- All Known Implementing Classes:
VariableListenerSupport
public interface SupplyManager<Solution_>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Supply_ extends Supply>
Supply_demand(Demand<Solution_,Supply_> demand)
-
-
-
Method Detail
-
demand
<Supply_ extends Supply> Supply_ demand(Demand<Solution_,Supply_> demand)
Returns theSupply
for aDemand
, preferably an existing one. If theSupply
doesn'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
-
-