Exemplo n.º 1
0
  public static boolean hasExcludedFields(RelationQuery query) {

    if (query == null || query.getExcludedFields() == null || query.getExcludedFields().isEmpty()) {
      return false;
    }

    return true;
  }
Exemplo n.º 2
0
  public void addExcludedFields(RelationQuery relationQuery) {

    if (hasExcludedFields(relationQuery)) {

      this.addExcludedFields(relationQuery.getExcludedFields());
    }
  }