public static OPERATION getEnum(String nam){
			if(nam != null && !nam.isEmpty()){
				if(nam.equalsIgnoreCase(AND.name))
					return AND;
				else if(nam.equalsIgnoreCase(OR.name))
					return OR;
				else if(nam.equalsIgnoreCase(XOR.name))
					return XOR;
				else if(nam.equalsIgnoreCase(FLIP.name))
					return FLIP;
				else if(nam.equalsIgnoreCase(SET.name))
					return SET;
				else
					return INVALID;
			}else{
				return INVALID;
			}
		}