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;

Scheduled service type, which you can create a scheduled task against.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "scheduled-service-type-resource" )
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The id of the service type.
 
     private String id;

    
The name of the service type.
 
     private String name;

    
Field formFields.
 
     @javax.xml.bind.annotation.XmlElementWrapper( name = "form-fields" )
     @javax.xml.bind.annotation.XmlElement( name = "form-field" )
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Method addFormField.

Parameters:
formFieldResource
 
     public void addFormFieldFormFieldResource formFieldResource )
     {
         getFormFields().addformFieldResource );
     } //-- void addFormField( FormFieldResource )
 
    
Method getFormFields.

Returns:
List
 
     {
         if ( this. == null )
         {
             this. = new java.util.ArrayList<FormFieldResource>();
         }
 
         return this.;
     } //-- java.util.List<FormFieldResource> getFormFields()
 
    
Get the id of the service type.

Returns:
String
 
     public String getId()
     {
         return this.;
     } //-- String getId()
 
    
Get the name of the service type.

Returns:
String
 
     public String getName()
     {
         return this.;
     } //-- String getName()
 
    
Method removeFormField.

Parameters:
formFieldResource
 
     public void removeFormFieldFormFieldResource formFieldResource )
    {
        getFormFields().removeformFieldResource );
    } //-- void removeFormField( FormFieldResource )

    
Set list of task form fields that configure the task.

Parameters:
formFields
    public void setFormFieldsjava.util.List<FormFieldResourceformFields )
    {
        this. = formFields;
    } //-- void setFormFields( java.util.List )

    
Set the id of the service type.

Parameters:
id
    public void setIdString id )
    {
        this. = id;
    } //-- void setId( String )

    
Set the name of the service type.

Parameters:
name
    public void setNameString name )
    {
        this. = name;
    } //-- void setName( String )
New to GrepCode? Check out our FAQ X