Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  =================== DO NOT EDIT THIS FILE ====================
  Generated by Modello 1.4.1 on 2011-04-25 14:04:59,
  any modifications will be overwritten.
  ==============================================================
  */
 
 package org.sonatype.nexus.rest.model;

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

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

    
Method addData.

Parameters:
globalConfigurationListResource
    public void addDataGlobalConfigurationListResource globalConfigurationListResource )
    {
        getData().addglobalConfigurationListResource );
    } //-- void addData( GlobalConfigurationListResource )

    
Method getData.

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

    
Method removeData.

Parameters:
globalConfigurationListResource
    public void removeDataGlobalConfigurationListResource globalConfigurationListResource )
    {
        getData().removeglobalConfigurationListResource );
    } //-- void removeData( GlobalConfigurationListResource )

    
Set list of global configuration items.

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