de.phleisch.app.itsucks.persistence.jaxb
Class SerializedJob

java.lang.Object
  extended by de.phleisch.app.itsucks.persistence.jaxb.SerializedJob
Direct Known Subclasses:
SerializedDownloadJob

public abstract class SerializedJob
extends java.lang.Object

Java class for serializedJob complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="serializedJob">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="state" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="priority" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="ignoreFilter" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="parameter" type="{http://itsucks.sourceforge.net/ItSucksJobSchema}serializedJobParameter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Long id
           
protected  boolean ignoreFilter
           
protected  java.lang.String name
           
protected  java.util.List<SerializedJobParameter> parameter
           
protected  int priority
           
protected  int state
           
 
Constructor Summary
SerializedJob()
           
 
Method Summary
 java.lang.Long getId()
          Gets the value of the id property.
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<SerializedJobParameter> getParameter()
          Gets the value of the parameter property.
 int getPriority()
          Gets the value of the priority property.
 int getState()
          Gets the value of the state property.
 boolean isIgnoreFilter()
          Gets the value of the ignoreFilter property.
 void setId(java.lang.Long value)
          Sets the value of the id property.
 void setIgnoreFilter(boolean value)
          Sets the value of the ignoreFilter property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPriority(int value)
          Sets the value of the priority property.
 void setState(int value)
          Sets the value of the state property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

state

protected int state

priority

protected int priority

ignoreFilter

protected boolean ignoreFilter

parameter

protected java.util.List<SerializedJobParameter> parameter

id

protected java.lang.Long id
Constructor Detail

SerializedJob

public SerializedJob()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getState

public int getState()
Gets the value of the state property.


setState

public void setState(int value)
Sets the value of the state property.


getPriority

public int getPriority()
Gets the value of the priority property.


setPriority

public void setPriority(int value)
Sets the value of the priority property.


isIgnoreFilter

public boolean isIgnoreFilter()
Gets the value of the ignoreFilter property.


setIgnoreFilter

public void setIgnoreFilter(boolean value)
Sets the value of the ignoreFilter property.


getParameter

public java.util.List<SerializedJobParameter> getParameter()
Gets the value of the parameter property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the parameter property.

For example, to add a new item, do as follows:

    getParameter().add(newItem);
 

Objects of the following type(s) are allowed in the list SerializedJobParameter


getId

public java.lang.Long getId()
Gets the value of the id property.

Returns:
possible object is Long

setId

public void setId(java.lang.Long value)
Sets the value of the id property.

Parameters:
value - allowed object is Long


Copyright © 2008. All Rights Reserved.