// Generated by Haxe 4.3.1
package model;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class Link extends haxe.lang.HxObject
{
	static
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			java.lang.Object __temp_odecl2 = null;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				java.lang.Object __temp_odecl1 = new haxe.lang.DynamicObject(new java.lang.String[]{"SuppressWarnings"}, new java.lang.Object[]{new haxe.root.Array(new java.lang.Object[]{"checkstyle:ParameterNumber"})}, new java.lang.String[]{}, new double[]{});
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				__temp_odecl2 = new haxe.lang.DynamicObject(new java.lang.String[]{"_"}, new java.lang.Object[]{__temp_odecl1}, new java.lang.String[]{}, new double[]{});
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			model.Link.__meta__ = new haxe.lang.DynamicObject(new java.lang.String[]{"fields"}, new java.lang.Object[]{__temp_odecl2}, new java.lang.String[]{}, new double[]{});
		}
		
	}
	
	public Link(haxe.lang.EmptyObject empty)
	{
	}
	
	
	public Link(model.Set set, java.lang.String role, java.lang.String min, java.lang.String max, boolean isWeak, boolean isAgregate, boolean hasArrow, int visibility)
	{
		//line 16 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		model.Link.__hx_ctor_model_Link(this, set, role, min, max, isWeak, isAgregate, hasArrow, visibility);
	}
	
	
	protected static void __hx_ctor_model_Link(model.Link __hx_this, model.Set set, java.lang.String role, java.lang.String min, java.lang.String max, boolean isWeak, boolean isAgregate, boolean hasArrow, int visibility)
	{
		//line 17 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.set = set;
		//line 18 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.set_role(role);
		//line 19 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.min = min;
		//line 20 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.max = max;
		//line 21 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.isWeak = isWeak;
		//line 22 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.isAgregate = isAgregate;
		//line 23 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.hasArrow = hasArrow;
		//line 24 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		__hx_this.visibility = visibility;
	}
	
	
	public static java.lang.Object __meta__;
	
	public model.Set set;
	
	public java.lang.String role;
	
	public java.lang.String classRole;
	
	public java.lang.String min;
	
	public java.lang.String max;
	
	public boolean isWeak;
	
	public boolean isAgregate;
	
	public boolean hasArrow;
	
	public int visibility;
	
	public java.lang.String set_role(java.lang.String role)
	{
		//line 28 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		this.role = role;
		//line 29 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		this.classRole = model.Obj.fixName(role, null);
		//line 30 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		return this.role;
	}
	
	
	public java.lang.String getMCDCards()
	{
		//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		if (( haxe.lang.Runtime.valEq(this.min, "X") && haxe.lang.Runtime.valEq(this.max, "X") )) 
		{
			//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			return "";
		}
		else
		{
			//line 34 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			return ( ( this.min + "," ) + this.max );
		}
		
	}
	
	
	public java.lang.String getUMLCards()
	{
		//line 38 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		java.lang.String cards = "";
		//line 39 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		if ((  ! (haxe.lang.Runtime.valEq(this.min, "X"))  ||  ! (haxe.lang.Runtime.valEq(this.max, "X"))  )) 
		{
			//line 40 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (haxe.lang.Runtime.valEq(this.min, this.max)) 
			{
				//line 41 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				cards = this.min;
			}
			else
			{
				//line 42 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				if (( haxe.lang.Runtime.valEq(this.min, "0") && haxe.lang.Runtime.valEq(this.max, "N") )) 
				{
					//line 43 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
					cards = "*";
				}
				else
				{
					//line 45 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
					cards = ( ( this.min + ".." ) + haxe.root.StringTools.replace(this.max, "N", "*") );
				}
				
			}
			
		}
		
		//line 48 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		return cards;
	}
	
	
	@Override public double __hx_setField_f(java.lang.String field, double value, boolean handleProperties)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			boolean __temp_executeDef1 = true;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (( field != null )) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				switch (field.hashCode())
				{
					case 1941332754:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("visibility")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.visibility = ((int) (value) );
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (__temp_executeDef1) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				return super.__hx_setField_f(field, value, handleProperties);
			}
			else
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_setField(java.lang.String field, java.lang.Object value, boolean handleProperties)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			boolean __temp_executeDef1 = true;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (( field != null )) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				switch (field.hashCode())
				{
					case 1941332754:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("visibility")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.visibility = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 113762:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("set")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.set = ((model.Set) (value) );
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 113082767:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("hasArrow")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.hasArrow = haxe.lang.Runtime.toBool(((java.lang.Boolean) (value) ));
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 3506294:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("role")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							if (handleProperties) 
							{
								//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
								this.set_role(haxe.lang.Runtime.toString(value));
								//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
								return value;
							}
							else
							{
								//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
								this.role = haxe.lang.Runtime.toString(value);
								//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
								return value;
							}
							
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 1039370350:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("isAgregate")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.isAgregate = haxe.lang.Runtime.toBool(((java.lang.Boolean) (value) ));
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case -9756146:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("classRole")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.classRole = haxe.lang.Runtime.toString(value);
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case -1180009534:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("isWeak")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.isWeak = haxe.lang.Runtime.toBool(((java.lang.Boolean) (value) ));
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 108114:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("min")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.min = haxe.lang.Runtime.toString(value);
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 107876:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("max")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							this.max = haxe.lang.Runtime.toString(value);
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return value;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (__temp_executeDef1) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				return super.__hx_setField(field, value, handleProperties);
			}
			else
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_getField(java.lang.String field, boolean throwErrors, boolean isCheck, boolean handleProperties)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			boolean __temp_executeDef1 = true;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (( field != null )) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				switch (field.hashCode())
				{
					case 1687279717:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("getUMLCards")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "getUMLCards")) );
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 113762:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("set")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.set;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 115563499:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("getMCDCards")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "getMCDCards")) );
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 3506294:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("role")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.role;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 1415506483:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("set_role")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "set_role")) );
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case -9756146:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("classRole")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.classRole;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 1941332754:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("visibility")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.visibility;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 108114:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("min")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.min;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 113082767:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("hasArrow")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.hasArrow;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 107876:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("max")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.max;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 1039370350:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("isAgregate")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.isAgregate;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case -1180009534:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("isWeak")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.isWeak;
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (__temp_executeDef1) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				return super.__hx_getField(field, throwErrors, isCheck, handleProperties);
			}
			else
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public double __hx_getField_f(java.lang.String field, boolean throwErrors, boolean handleProperties)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			boolean __temp_executeDef1 = true;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (( field != null )) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				switch (field.hashCode())
				{
					case 1941332754:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("visibility")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return ((double) (this.visibility) );
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (__temp_executeDef1) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				return super.__hx_getField_f(field, throwErrors, handleProperties);
			}
			else
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_invokeField(java.lang.String field, java.lang.Object[] dynargs)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		{
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			boolean __temp_executeDef1 = true;
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (( field != null )) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				switch (field.hashCode())
				{
					case 1687279717:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("getUMLCards")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.getUMLCards();
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 1415506483:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("set_role")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.set_role(haxe.lang.Runtime.toString(dynargs[0]));
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
					case 115563499:
					{
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						if (field.equals("getMCDCards")) 
						{
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							__temp_executeDef1 = false;
							//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
							return this.getMCDCards();
						}
						
						//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
			if (__temp_executeDef1) 
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				return super.__hx_invokeField(field, dynargs);
			}
			else
			{
				//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public void __hx_getFields(haxe.root.Array<java.lang.String> baseArr)
	{
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("visibility");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("hasArrow");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("isAgregate");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("isWeak");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("max");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("min");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("classRole");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("role");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		baseArr.push("set");
		//line 4 "/home/frank/Documents/Developpements/dbconcept-0.5.0/src/model/Link.hx"
		super.__hx_getFields(baseArr);
	}
	
	
}


