Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  =================== DO NOT EDIT THIS FILE ====================
  Generated by Modello 1.4.1 on 2011-04-25 14:05:00,
  any modifications will be overwritten.
  ==============================================================
  */
 
 package org.sonatype.nexus.rest.model;

The set of items that define the repository group (extends repository base resource).

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@javax.xml.bind.annotation.XmlType( name = "repository-group-resource" )
    extends RepositoryBaseResource
    implements java.io.Serializable
      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    
Field repositories.
    @javax.xml.bind.annotation.XmlElementWrapper( name = "repositories" )
    @javax.xml.bind.annotation.XmlElement( name = "repo-group-member" )
      //-----------/
     //- Methods -/
    //-----------/

    
Method addRepository.

Parameters:
repositoryGroupMemberRepository
    public void addRepositoryRepositoryGroupMemberRepository repositoryGroupMemberRepository )
    {
        getRepositories().addrepositoryGroupMemberRepository );
    } //-- void addRepository( RepositoryGroupMemberRepository )

    
Method getRepositories.

Returns:
List
    {
        if ( this. == null )
        {
            this. = new java.util.ArrayList<RepositoryGroupMemberRepository>();
        }
        return this.;
    } //-- java.util.List<RepositoryGroupMemberRepository> getRepositories()

    
Method removeRepository.

Parameters:
repositoryGroupMemberRepository
    public void removeRepositoryRepositoryGroupMemberRepository repositoryGroupMemberRepository )
    {
        getRepositories().removerepositoryGroupMemberRepository );
    } //-- void removeRepository( RepositoryGroupMemberRepository )

    
Set list of repositories that this repository group contains (order IS important).

Parameters:
repositories
    public void setRepositoriesjava.util.List<RepositoryGroupMemberRepositoryrepositories )
    {
        this. = repositories;
    } //-- void setRepositories( java.util.List )
New to GrepCode? Check out our FAQ X