Class SingleValueStructRule
java.lang.Object
nz.org.riskscape.engine.types.eqrule.SingleValueStructRule
- All Implemented Interfaces:
Identified
,EquivalenceRule
Allows assignment between structs and simple values if the struct has a single member who's type matches the single value. Allows recursive equivalence between the member of the struct and the simple value.
NB need to consider how to open up the non-struct type to be not just a simple type...
-
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.types.eqrule.EquivalenceRule
getId
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Constructor Details
-
SingleValueStructRule
public SingleValueStructRule()
-
-
Method Details
-
getCoercer
- Specified by:
getCoercer
in interfaceEquivalenceRule
-