public static boolean isBridge(JoinType type) { if (type != null && (type.equals(BRIDGE) || type.equals(BRIDGE_EXCLUSIVE) || type.equals(BRIDGE_SHARED))) { return true; } return false; }