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 plexus components, contains the typical 'data' parameter, which is the plexus components.

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

    
Field data.
    @javax.xml.bind.annotation.XmlElementWrapper( name = "data" )
    @javax.xml.bind.annotation.XmlElement( name = "component" )
      //-----------/
     //- Methods -/
    //-----------/

    
Method addData.

Parameters:
plexusComponentListResource
    public void addDataPlexusComponentListResource plexusComponentListResource )
    {
        getData().addplexusComponentListResource );
    } //-- void addData( PlexusComponentListResource )

    
Method getData.

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

    
Method removeData.

Parameters:
plexusComponentListResource
    public void removeDataPlexusComponentListResource plexusComponentListResource )
    {
        getData().removeplexusComponentListResource );
    } //-- void removeData( PlexusComponentListResource )

    
Set list of plexus components.

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