@Test public void interactionCypherClause() { String value = "PREYS_UPON|PARASITE_OF|HAS_HOST|HOST_OF|POLLINATES|ATE|SYMBIONT_OF|POLLINATED_BY|HAS_PARASITE|HAS_PATHOGEN|PATHOGEN_OF|HAS_VECTOR|VECTOR_OF|ENDOPARASITE_OF|HAS_ENDOPARASITE|HYPERPARASITE_OF|HAS_HYPERPARASITE|HYPERPARASITOID_OF|HAS_HYPERPARASITOID|ECTOPARASITE_OF|HAS_ECTOPARASITE|KLEPTOPARASITE_OF|HAS_KLEPTOPARASITE|PARASITOID_OF|HAS_PARASITOID|ENDOPARASITOID_OF|HAS_ENDOPARASITOID|ECTOPARASITOID_OF|HAS_ECTOPARASITOID|FARMED_BY|FARMS|DISPERSAL_VECTOR_OF|HAS_DISPERAL_VECTOR|EPIPHITE_OF|HAS_EPIPHITE|COMMENSALIST_OF|MUTUALIST_OF"; assertThat(InteractUtil.interactionsCypherClause(InteractType.ATE, InteractType.SYMBIONT_OF) , is(value)); }
public static String interactionsCypherClause(InteractType... values) { TreeSet<InteractType> types = new TreeSet<>(); for (InteractType value : values) { types.addAll(InteractType.typesOf(value)); } return joinInteractTypes(types); }
InteractUtil { public static String interactionsCypherClause(InteractType... values) { TreeSet<InteractType> types = new TreeSet<>(); for (InteractType value : values) { types.addAll(InteractType.typesOf(value)); } return joinInteractTypes(types); } }
InteractUtil { public static String interactionsCypherClause(InteractType... values) { TreeSet<InteractType> types = new TreeSet<>(); for (InteractType value : values) { types.addAll(InteractType.typesOf(value)); } return joinInteractTypes(types); }  }
InteractUtil { public static String interactionsCypherClause(InteractType... values) { TreeSet<InteractType> types = new TreeSet<>(); for (InteractType value : values) { types.addAll(InteractType.typesOf(value)); } return joinInteractTypes(types); }  static String allInteractionsCypherClause(); static String joinInteractTypes(Collection<InteractType> interactTypes); static String interactionsCypherClause(InteractType... values); static InteractTypeMapper createInteractionTypeMapperForImporter(ResourceService dataset); static void putNotBlank(Map<String, String> link, String key, String value); static void putNotNull(Map<String, String> link, String key, String value); static void putIfKeyNotExistsAndValueNotBlank(Map<String, String> link, String key, String value); static String normalizeInteractionNameOrId(String name); static String removeQuotesAndBackslashes(String name); }
InteractUtil { public static String interactionsCypherClause(InteractType... values) { TreeSet<InteractType> types = new TreeSet<>(); for (InteractType value : values) { types.addAll(InteractType.typesOf(value)); } return joinInteractTypes(types); }  static String allInteractionsCypherClause(); static String joinInteractTypes(Collection<InteractType> interactTypes); static String interactionsCypherClause(InteractType... values); static InteractTypeMapper createInteractionTypeMapperForImporter(ResourceService dataset); static void putNotBlank(Map<String, String> link, String key, String value); static void putNotNull(Map<String, String> link, String key, String value); static void putIfKeyNotExistsAndValueNotBlank(Map<String, String> link, String key, String value); static String normalizeInteractionNameOrId(String name); static String removeQuotesAndBackslashes(String name);  }