public interface SupplyManager
Modifier and Type | Method and Description |
---|---|
<S extends Supply> |
demand(Demand<S> demand)
|
<S extends Supply> S demand(Demand<S> demand)
Supply
for a Demand
, preferably an existing one.
If the Supply
doesn't exist yet (as part of the domain model or externalized), it creates and attaches it.S
- Subclass of Supply
demand
- never nullCopyright © 2006–2019 JBoss by Red Hat. All rights reserved.