![JAR search and dependency download from the Maven repository](/logo.png)
org.openl.codegen.template.DefaultPropertiesIntersectionFinder.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.openl.rules.gen Show documentation
Show all versions of org.openl.rules.gen Show documentation
OpenL Code generation project
#foreach( $tablePropertyDefinition in $tablePropertyDefinitions )
constraints.put("$tablePropertyDefinition.PropertyVar", new IntersectionConstraint<$tool.getTypeName($tablePropertyDefinition.Definition.Type.InstanceClass)>() {
@Override
protected $tool.getTypeName($tablePropertyDefinition.Definition.Type.InstanceClass) getPropertyValue(ITableProperties properties) {
return properties.get$tool.formatAccessorName($tablePropertyDefinition.PropertyVar)();
}
@Override
protected IntersectionType matchNotNulls($tool.getTypeName($tablePropertyDefinition.Definition.Type.InstanceClass) firstValue, $tool.getTypeName($tablePropertyDefinition.Definition.Type.InstanceClass) secondValue) {
return intersectionFor${tablePropertyDefinition.Operation}(firstValue, secondValue);
}
});
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy