@Override
public <T> RestBAConnection<T> fetchConnectionRestBA(String query,
Class<T> connectionType) {
if (null == query || "".equals(query)) {
throw new RestBAException("The query can't be null or empty");
}
if (null == connectionType) {
throw new RestBAException("The connectionType can't be null");
}
if (query.toLowerCase().contains("from=")) {
throw new RestBAException(
"From parameter should not be in the query"
+ " because connection pointer abstractions use that.");
}
if (query.toLowerCase().contains("size=")) {
throw new RestBAException(
"Size parameter should not be in the query"
+ " because connection pointer abstractions use that.");
}
RestBAConnection<T> fetchConnectionRestBA = restFbConnector