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:05:00,
  any modifications will be overwritten.
  ==============================================================
  */
 
 package org.sonatype.nexus.rest.model;

A service that is run weekly.

Version:
$Revision$ $Date$
@SuppressWarnings"all" )
@javax.xml.bind.annotation.XmlType( name = "scheduled-service-daily-resource" )
    implements java.io.Serializable
      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    
Field recurringDay.
    @javax.xml.bind.annotation.XmlElementWrapper( name = "recurringDay" )
    @javax.xml.bind.annotation.XmlElement( name = "day" )
    private java.util.List<StringrecurringDay;
      //-----------/
     //- Methods -/
    //-----------/

    
Method addRecurringDay.

Parameters:
string
    public void addRecurringDayString string )
    {
        getRecurringDay().addstring );
    } //-- void addRecurringDay( String )

    
Method getRecurringDay.

Returns:
List
    public java.util.List<StringgetRecurringDay()
    {
        if ( this. == null )
        {
            this. = new java.util.ArrayList<String>();
        }
        return this.;
    } //-- java.util.List<String> getRecurringDay()

    
Method removeRecurringDay.

Parameters:
string
    public void removeRecurringDayString string )
    {
        getRecurringDay().removestring );
    } //-- void removeRecurringDay( String )

    
Set the list of days that the service will be run.

Parameters:
recurringDay
    public void setRecurringDayjava.util.List<StringrecurringDay )
    {
        this. = recurringDay;
    } //-- void setRecurringDay( java.util.List )
New to GrepCode? Check out our FAQ X