Exemplo n.º 1
0
  protected AreaIncludesWs2 getIncrementalInc(AreaIncludesWs2 inc) {

    inc = (AreaIncludesWs2) super.getIncrementalInc(inc);
    if (getIncludes().isAliases() && !getIncluded().isAliases()) inc.setAliases(true);

    // if (getIncludes().isArtists() && !getIncluded().isArtists()) inc.setArtists(true);
    // if (getIncludes().isLabels() && !getIncluded().isLabels()) inc.setLabels(true);
    //  if (getIncludes().isReleases() && !getIncluded().isReleases()) inc.setReleases(true);
    //  if (getIncludes().isPlaces() && !getIncluded().isPlaces()) inc.setPlaces(true);

    return inc;
  }
Exemplo n.º 2
0
  @Override
  protected AreaIncludesWs2 getDefaultIncludes() {

    AreaIncludesWs2 inc = new AreaIncludesWs2();

    inc.setUrlRelations(true);
    inc.setLabelRelations(true);
    inc.setArtistRelations(true);
    inc.setReleaseGroupRelations(true);
    inc.setReleaseRelations(true);
    inc.setRecordingRelations(true);
    inc.setWorkRelations(false);
    inc.setAreaRelations(true);
    inc.setPlaceRelations(true);
    inc.setInstrumentRelations(true);
    inc.setSeriesRelations(true);

    inc.setTags(false);
    inc.setRatings(false);
    inc.setUserTags(false);
    inc.setUserRatings(false);

    inc.setAnnotation(true);
    inc.setAliases(false);
    inc.setArtists(false);
    inc.setLabels(false);
    inc.setReleases(false);
    inc.setPlaces(false);

    inc.setArtistCredits(false);
    inc.setDiscids(false);
    inc.setIsrcs(false);
    inc.setMedia(false);
    inc.setPuids(false);

    return inc;
  }