// Generated by Haxe 4.3.3
package transform;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class DiagramToMLD_subsetsToParent_201__Fun_0 extends haxe.lang.Function
{
	public DiagramToMLD_subsetsToParent_201__Fun_0(model.Relation pr, model.Relation cr)
	{
		//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		super(1, 0);
		//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		this.pr = pr;
		//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		this.cr = cr;
	}
	
	
	@Override public java.lang.Object __hx_invoke1_o(double __fn_float1, java.lang.Object __fn_dyn1)
	{
		//line 201 "/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 201 "/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.cr.name)) 
		{
			//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
			model.Relation __temp_expr1 = ((model.Relation) (haxe.lang.Runtime.setField(fk, "relation", this.pr)) );
		}
		
		//line 201 "/home/frank/Documents/Developpements/dbconcept-0.5.1/src/transform/DiagramToMLD.hx"
		return null;
	}
	
	
	public model.Relation pr;
	
	public model.Relation cr;
	
}


