public class CustomShadowVariableDemand extends Object implements Demand<SingletonInverseVariableSupply>
Demand
s, a custom demand isn't equalized based on its sources, but based on its target.
Therefore a custom shadow variable cannot be reused by built-in systems.Constructor and Description |
---|
CustomShadowVariableDemand(CustomShadowVariableDescriptor targetShadowVariableDescriptor) |
Modifier and Type | Method and Description |
---|---|
SingletonInverseVariableSupply |
createExternalizedSupply(InnerScoreDirector scoreDirector)
Only called if the domain model doesn't already support the demand (through a shadow variable usually).
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public CustomShadowVariableDemand(CustomShadowVariableDescriptor targetShadowVariableDescriptor)
public SingletonInverseVariableSupply createExternalizedSupply(InnerScoreDirector scoreDirector)
Demand
Supply
.createExternalizedSupply
in interface Demand<SingletonInverseVariableSupply>
scoreDirector
- never nullCopyright © 2006–2018 JBoss by Red Hat. All rights reserved.