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-06-01 10:46:26,
  any modifications will be overwritten.
  ==============================================================
  */
 
 package org.sonatype.nexus.rest.model;

REST Response object for a list of Nexus feed items, contains the typical 'data' parameter, which is a list of the feed items.

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@com.thoughtworks.xstream.annotations.XStreamAlias( value = "feeds-list" )
@javax.xml.bind.annotation.XmlRootElement( name = "feeds-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 = "feeds-list-item" )
    private java.util.List<FeedListResourcedata;
      //-----------/
     //- Methods -/
    //-----------/

    
Method addData.

Parameters:
feedListResource
    public void addDataFeedListResource feedListResource )
    {
        getData().addfeedListResource );
    } //-- void addData( FeedListResource )

    
Method getData.

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

    
Method removeData.

Parameters:
feedListResource
    public void removeDataFeedListResource feedListResource )
    {
        getData().removefeedListResource );
    } //-- void removeData( FeedListResource )

    
Set list of feeds available from Nexus.

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