@Test(expected=IllegalArgumentException.class) public void testEqualsWithNullAction() { ObjectFieldActions.equals(null, ""); }
@AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); }
ObjectFieldActions implements AtlasFieldAction { @AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); } }
ObjectFieldActions implements AtlasFieldAction { @AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); }  }
ObjectFieldActions implements AtlasFieldAction { @AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); }  @AtlasActionProcessor static Integer count(Count action, List<Object> inputs); @AtlasActionProcessor static Boolean contains(Contains contains, List<Object> inputs); @AtlasActionProcessor static Boolean equals(Equals equals, Object input); @AtlasActionProcessor static Boolean isNull(IsNull action, Object input); @AtlasActionProcessor static Object itemAt(ItemAt itemAt, List<Object> inputs); @AtlasActionProcessor static Integer length(Length length, Object input); }
ObjectFieldActions implements AtlasFieldAction { @AtlasActionProcessor public static Boolean equals(Equals equals, Object input) { if (equals == null) { throw new IllegalArgumentException("Equals action must be specified"); } if (input == null) { return equals.getValue() == null; } return input.toString().equals(equals.getValue()); }  @AtlasActionProcessor static Integer count(Count action, List<Object> inputs); @AtlasActionProcessor static Boolean contains(Contains contains, List<Object> inputs); @AtlasActionProcessor static Boolean equals(Equals equals, Object input); @AtlasActionProcessor static Boolean isNull(IsNull action, Object input); @AtlasActionProcessor static Object itemAt(ItemAt itemAt, List<Object> inputs); @AtlasActionProcessor static Integer length(Length length, Object input);  }