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;

Repository status parameters.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "repository-status" )
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The id of the repository.
 
     private String id;

    
The type of the repository.
 
     private String repoType;

    
The format of the repository.
 
     private String format;

    
The local status of the repository (user blocked for example)
 
     private String localStatus;

    
The remote status of the repository (unreachable for example)
 
     private String remoteStatus;

    
The repository proxy mode (allow, blocked, etc.).
 
     private String proxyMode;

    
Field dependentRepos.
 
     @javax.xml.bind.annotation.XmlElementWrapper( name = "dependentRepos" )
     @javax.xml.bind.annotation.XmlElement( name = "dependentRepoItem" )
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Method addDependentRepo.

Parameters:
repositoryDependentStatusResource
 
     public void addDependentRepoRepositoryDependentStatusResource repositoryDependentStatusResource )
     {
         getDependentRepos().addrepositoryDependentStatusResource );
     } //-- void addDependentRepo( RepositoryDependentStatusResource )
 
    
Method getDependentRepos.

Returns:
List
 
     {
         if ( this. == null )
         {
             this. = new java.util.ArrayList<RepositoryDependentStatusResource>();
         }
 
         return this.;
     } //-- java.util.List<RepositoryDependentStatusResource> getDependentRepos()
 
    
Get the format of the repository.

Returns:
String
 
     public String getFormat()
     {
        return this.;
    } //-- String getFormat()

    
Get the id of the repository.

Returns:
String
    public String getId()
    {
        return this.;
    } //-- String getId()

    
Get the local status of the repository (user blocked for example).

Returns:
String
    public String getLocalStatus()
    {
        return this.;
    } //-- String getLocalStatus()

    
Get the repository proxy mode (allow, blocked, etc.).

Returns:
String
    public String getProxyMode()
    {
        return this.;
    } //-- String getProxyMode()

    
Get the remote status of the repository (unreachable for example).

Returns:
String
    public String getRemoteStatus()
    {
        return this.;
    } //-- String getRemoteStatus()

    
Get the type of the repository.

Returns:
String
    public String getRepoType()
    {
        return this.;
    } //-- String getRepoType()

    
Method removeDependentRepo.

Parameters:
repositoryDependentStatusResource
    public void removeDependentRepoRepositoryDependentStatusResource repositoryDependentStatusResource )
    {
        getDependentRepos().removerepositoryDependentStatusResource );
    } //-- void removeDependentRepo( RepositoryDependentStatusResource )

    
Set the lsit of repositories that shadow this repository.

Parameters:
dependentRepos
    public void setDependentReposjava.util.List<RepositoryDependentStatusResourcedependentRepos )
    {
        this. = dependentRepos;
    } //-- void setDependentRepos( java.util.List )

    
Set the format of the repository.

Parameters:
format
    public void setFormatString format )
    {
        this. = format;
    } //-- void setFormat( String )

    
Set the id of the repository.

Parameters:
id
    public void setIdString id )
    {
        this. = id;
    } //-- void setId( String )

    
Set the local status of the repository (user blocked for example).

Parameters:
localStatus
    public void setLocalStatusString localStatus )
    {
        this. = localStatus;
    } //-- void setLocalStatus( String )

    
Set the repository proxy mode (allow, blocked, etc.).

Parameters:
proxyMode
    public void setProxyModeString proxyMode )
    {
        this. = proxyMode;
    } //-- void setProxyMode( String )

    
Set the remote status of the repository (unreachable for example).

Parameters:
remoteStatus
    public void setRemoteStatusString remoteStatus )
    {
        this. = remoteStatus;
    } //-- void setRemoteStatus( String )

    
Set the type of the repository.

Parameters:
repoType
    public void setRepoTypeString repoType )
    {
        this. = repoType;
    } //-- void setRepoType( String )
New to GrepCode? Check out our FAQ X