// Generated by Haxe 4.3.3
package transform;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class MLDToDiagram_addBinaryDFAssoc_79__Fun extends haxe.lang.Function
{
	public MLDToDiagram_addBinaryDFAssoc_79__Fun(model.Relation r)
	{
		//line 79 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/MLDToDiagram.hx"
		super(1, 0);
		//line 79 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/MLDToDiagram.hx"
		this.r = r;
	}
	
	
	@Override public java.lang.Object __hx_invoke1_o(double __fn_float1, java.lang.Object __fn_dyn1)
	{
		//line 79 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/MLDToDiagram.hx"
		java.lang.Object fk = ( (( __fn_dyn1 == haxe.lang.Runtime.undefined )) ? (((java.lang.Object) (__fn_float1) )) : (((java.lang.Object) (__fn_dyn1) )) );
		//line 79 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/MLDToDiagram.hx"
		return ( this.r.key.indexOf(haxe.lang.Runtime.toString(haxe.lang.Runtime.getField(fk, "name", true)), null) != -1 );
	}
	
	
	public model.Relation r;
	
}


