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 list of Nexus configuration objects, contains the typical 'data' parameter, which is a list of the configuration items.

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

    
Method addData.

Parameters:
configurationsListResource
    public void addDataConfigurationsListResource configurationsListResource )
    {
        getData().addconfigurationsListResource );
    } //-- void addData( ConfigurationsListResource )

    
Method getData.

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

    
Method removeData.

Parameters:
configurationsListResource
    public void removeDataConfigurationsListResource configurationsListResource )
    {
        getData().removeconfigurationsListResource );
    } //-- void removeData( ConfigurationsListResource )

    
Set list of Nexus configuration objects.

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