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;

Details about NFC usage for a repository.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "nfc-repository-resource" )
 public class NFCRepositoryResource
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The repository id that the nfc details are for.
 
     private String repositoryId;

    
NFC statistics.
 
     private NFCStats nfcStats;

    
Field nfcPaths.
 
     @javax.xml.bind.annotation.XmlElementWrapper( name = "nfcPaths" )
     @javax.xml.bind.annotation.XmlElement( name = "path" )
     private java.util.List<StringnfcPaths;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Method addNfcPath.

Parameters:
string
 
     public void addNfcPathString string )
     {
         getNfcPaths().addstring );
     } //-- void addNfcPath( String )
 
    
Method getNfcPaths.

Returns:
List
 
     public java.util.List<StringgetNfcPaths()
     {
         if ( this. == null )
         {
             this. = new java.util.ArrayList<String>();
         }
 
         return this.;
     } //-- java.util.List<String> getNfcPaths()
 
    
Get nFC statistics.

Returns:
NFCStats
 
     public NFCStats getNfcStats()
     {
         return this.;
     } //-- NFCStats getNfcStats()
 
    
Get the repository id that the nfc details are for.

Returns:
String
 
     public String getRepositoryId()
     {
         return this.;
     } //-- String getRepositoryId()
 
    
Method removeNfcPath.

Parameters:
string
 
     public void removeNfcPathString string )
     {
        getNfcPaths().removestring );
    } //-- void removeNfcPath( String )

    
Set list of paths in the NFC.

Parameters:
nfcPaths
    public void setNfcPathsjava.util.List<StringnfcPaths )
    {
        this. = nfcPaths;
    } //-- void setNfcPaths( java.util.List )

    
Set nFC statistics.

Parameters:
nfcStats
    public void setNfcStatsNFCStats nfcStats )
    {
        this. = nfcStats;
    } //-- void setNfcStats( NFCStats )

    
Set the repository id that the nfc details are for.

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