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:04:59,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

The repository base object, this could be extended by a new object if new fields are required.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "base-repository" )
 public class RepositoryBaseResource
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The URL to access the content resource of the repository.
 
     private String contentResourceURI;

    
The id of the repository.
 
     private String id;

    
The name of the repository.
 
     private String name;

    
The provider of the repository (i.e. maven, p2, obr, etc.).
 
     private String provider;

    
The role of the repository (i.e. Repository, GroupRepository, etc.).
 
     private String providerRole;

    
The format of the repository.
 
     private String format;

    
The type of the repository.
 
     private String repoType;

    
Flag that states whether the repository should be available over the content resource.
 
     private boolean exposed = false;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get the URL to access the content resource of the repository.

Returns:
String
 
     public String getContentResourceURI()
     {
         return this.;
     } //-- String getContentResourceURI()
 
    
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 name of the repository.

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

    
Get the provider of the repository (i.e. maven, p2, obr, etc.).

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

    
Get the role of the repository (i.e. Repository, GroupRepository, etc.).

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

    
Get the type of the repository.

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

    
Get flag that states whether the repository should be available over the content resource.

Returns:
boolean
    public boolean isExposed()
    {
        return this.;
    } //-- boolean isExposed()

    
Set the URL to access the content resource of the repository.

Parameters:
contentResourceURI
    public void setContentResourceURIString contentResourceURI )
    {
        this. = contentResourceURI;
    } //-- void setContentResourceURI( String )

    
Set flag that states whether the repository should be available over the content resource.

Parameters:
exposed
    public void setExposedboolean exposed )
    {
        this. = exposed;
    } //-- void setExposed( boolean )

    
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 name of the repository.

Parameters:
name
    public void setNameString name )
    {
        this. = name;
    } //-- void setName( String )

    
Set the provider of the repository (i.e. maven, p2, obr, etc.).

Parameters:
provider
    public void setProviderString provider )
    {
        this. = provider;
    } //-- void setProvider( String )

    
Set the role of the repository (i.e. Repository, GroupRepository, etc.).

Parameters:
providerRole
    public void setProviderRoleString providerRole )
    {
        this. = providerRole;
    } //-- void setProviderRole( 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