// Generated by Haxe 4.3.3
package transform;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class DiagramToMLD_supersetToChildren_230__Fun extends haxe.lang.Function
{
	public DiagramToMLD_supersetToChildren_230__Fun(haxe.root.Array<java.lang.Object> supersetFK, model.Relation pr)
	{
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		super(1, 0);
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		this.supersetFK = supersetFK;
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		this.pr = pr;
	}
	
	
	@Override public java.lang.Object __hx_invoke1_o(double __fn_float1, java.lang.Object __fn_dyn1)
	{
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		java.lang.Object fk = ( (( __fn_dyn1 == haxe.lang.Runtime.undefined )) ? (((java.lang.Object) (__fn_float1) )) : (((java.lang.Object) (__fn_dyn1) )) );
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		if (haxe.lang.Runtime.valEq(((model.Relation) (haxe.lang.Runtime.getField(fk, "relation", true)) ).name, this.pr.name)) 
		{
			//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
			this.supersetFK.push(fk);
		}
		
		//line 230 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		return null;
	}
	
	
	public haxe.root.Array<java.lang.Object> supersetFK;
	
	public model.Relation pr;
	
}


