Class WrappingTypesRule
java.lang.Object
nz.org.riskscape.engine.types.varule.WrappingTypesRule
- All Implemented Interfaces:
Identified
,VarianceRule
Will allow assignment if the source type is more specific than the target type. Doesn't apply to source types that aren't wrapping types.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.types.varule.VarianceRule
getId
-
Constructor Details
-
WrappingTypesRule
public WrappingTypesRule()
-
-
Method Details
-
test
- Specified by:
test
in interfaceVarianceRule
-