src/main/java/org/musicbrainz/model/searchresult/listelement/ReleaseGroupSearchResultsWs2.java
/**
    * Convenience method to adds an release result to the list.
    * 
    * This will create a new <code>ArrayList</code> if {@link #releaseGroupResults} is null.
    * 
    * @param releaseResult The release result to add
    */
Convenience method to adds an release result to the list.

This will create a new ArrayList if  #releaseGroupResults is null.

@param releaseResult The release result to add
Convenience method to adds an release result to the list . This will create a new ArrayList if #releaseGroupResults is null . @param releaseResult The release result to add
public void addReleaseGroupResult(ReleaseGroupResultWs2 releaseGroupResult) 
    {
        if (releaseGroupResults == null) {
                releaseGroupResults = new ArrayList<ReleaseGroupResultWs2>();
        }
        if (getReleaseGroupList() == null) {
                releaseGroupList = new ReleaseGroupListWs2();
        }
        releaseGroupResults.add(releaseGroupResult);
        releaseGroupList.addReleaseGroup(releaseGroupResult.getReleaseGroup());   
        releaseGroupList.setCount(getCount());
        releaseGroupList.setOffset(getOffset());
    }
public void addReleaseGroupResult ( ReleaseGroupResultWs2 releaseGroupResult ) { if ( releaseGroupResults == null ) { releaseGroupResults = new ArrayList < ReleaseGroupResultWs2 > ( ) ; } if ( getReleaseGroupList ( ) == null ) { releaseGroupList = new ReleaseGroupListWs2 ( ) ; } releaseGroupResults . add ( releaseGroupResult ) ; releaseGroupList . addReleaseGroup ( releaseGroupResult . getReleaseGroup ( ) ) ; releaseGroupList . setCount ( getCount ( ) ) ; releaseGroupList . setOffset ( getOffset ( ) ) ; }
Convenience method to adds an release result to the list.
Convenience method to adds an release result to the list .