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;

REST Response object for a log list resource request, contains the typical 'data' parameter, which is a list of the log items requested.

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@com.thoughtworks.xstream.annotations.XStreamAlias( value = "logs-list" )
@javax.xml.bind.annotation.XmlRootElement( name = "logs-list" )
    extends NexusResponse
    implements java.io.Serializable
      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    
Field data.
    @javax.xml.bind.annotation.XmlElementWrapper( name = "data" )
    @javax.xml.bind.annotation.XmlElement( name = "logs-list-item" )
    private java.util.List<LogsListResourcedata;
      //-----------/
     //- Methods -/
    //-----------/

    
Method addData.

Parameters:
logsListResource
    public void addDataLogsListResource logsListResource )
    {
        getData().addlogsListResource );
    } //-- void addData( LogsListResource )

    
Method getData.

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

    
Method removeData.

Parameters:
logsListResource
    public void removeDataLogsListResource logsListResource )
    {
        getData().removelogsListResource );
    } //-- void removeData( LogsListResource )

    
Set list of Log file items.

Parameters:
data
    public void setDatajava.util.List<LogsListResourcedata )
    {
        this. = data;
    } //-- void setData( java.util.List )
New to GrepCode? Check out our FAQ X