Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2012-04-27 06:11:26,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

Details to retrieve a log file from the Nexus server.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "logs-list-resource" )
 public class LogsListResource
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The url that can be GET requested to retrieve the log file content.
 
     private String resourceURI;

    
The name of the file.
 
     private String name;

    
The size of the file.
 
     private long size = 0L;

    
MIME type of the file.
 
     private String mimeType;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get mIME type of the file.

Returns:
String
 
     public String getMimeType()
     {
         return this.;
     } //-- String getMimeType()
 
    
Get the name of the file.

Returns:
String
 
     public String getName()
     {
         return this.;
     } //-- String getName()
 
    
Get the url that can be GET requested to retrieve the log file content.

Returns:
String
 
     public String getResourceURI()
     {
         return this.;
     } //-- String getResourceURI()
 
    
Get the size of the file.

Returns:
long
 
     public long getSize()
     {
         return this.;
     } //-- long getSize()
 
    
Set mIME type of the file.

Parameters:
mimeType
 
     public void setMimeTypeString mimeType )
     {
        this. = mimeType;
    } //-- void setMimeType( String )

    
Set the name of the file.

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

    
Set the url that can be GET requested to retrieve the log file content.

Parameters:
resourceURI
    public void setResourceURIString resourceURI )
    {
        this. = resourceURI;
    } //-- void setResourceURI( String )

    
Set the size of the file.

Parameters:
size
    public void setSizelong size )
    {
        this. = size;
    } //-- void setSize( long )
New to GrepCode? Check out our FAQ X