Package nz.org.riskscape.engine.types.eqrule
package nz.org.riskscape.engine.types.eqrule
-
ClassDescriptionA function for transforming a value from one RiskScape type to anotherAn equivalence rule allows type-safe coercion to be applied to the Riskscape Expression language in a pluggable way.Allows assignment of integers to floating point - considered a downcast, as an integer value can represented 'enough' by a floating point rule.Allows equivalence to be determined by the types inside a nullableAllows a singular specific geometry type (LINE, POINT, POLYGON) to be coerced to a multi form of the same type.Allows assignment between structs and simple values if the struct has a single member who's type matches the single value.