picsou.data
Class Algorithm

java.lang.Object
  extended by picsou.data.Algorithm
All Implemented Interfaces:
java.io.Serializable

public class Algorithm
extends java.lang.Object
implements java.io.Serializable

Class Algorithm.

See Also:
Serialized Form

Constructor Summary
Algorithm()
           
 
Method Summary
 java.lang.Double getIterations()
          Returns the value of field 'iterations'.
 java.lang.Double getPackets()
          Returns the value of field 'packets'.
 java.lang.Double getQueuedIts()
          Returns the value of field 'queuedIts'.
 java.lang.Long getTimeIntervalsPerYear()
          Returns the value of field 'timeIntervalsPerYear'.
 picsou.data.types.AlgorithmTypeType getType()
          Returns the value of field 'type'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setIterations(java.lang.Double iterations)
          Sets the value of field 'iterations'.
 void setPackets(java.lang.Double packets)
          Sets the value of field 'packets'.
 void setQueuedIts(java.lang.Double queuedIts)
          Sets the value of field 'queuedIts'.
 void setTimeIntervalsPerYear(java.lang.Long timeIntervalsPerYear)
          Sets the value of field 'timeIntervalsPerYear'.
 void setType(picsou.data.types.AlgorithmTypeType type)
          Sets the value of field 'type'.
static Algorithm unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithm

public Algorithm()
Method Detail

getIterations

public java.lang.Double getIterations()
Returns the value of field 'iterations'.

Returns:
the value of field 'Iterations'.

getPackets

public java.lang.Double getPackets()
Returns the value of field 'packets'.

Returns:
the value of field 'Packets'.

getQueuedIts

public java.lang.Double getQueuedIts()
Returns the value of field 'queuedIts'.

Returns:
the value of field 'QueuedIts'.

getTimeIntervalsPerYear

public java.lang.Long getTimeIntervalsPerYear()
Returns the value of field 'timeIntervalsPerYear'.

Returns:
the value of field 'TimeIntervalsPerYear'.

getType

public picsou.data.types.AlgorithmTypeType getType()
Returns the value of field 'type'.

Returns:
the value of field 'Type'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setIterations

public void setIterations(java.lang.Double iterations)
Sets the value of field 'iterations'.

Parameters:
iterations - the value of field 'iterations'.

setPackets

public void setPackets(java.lang.Double packets)
Sets the value of field 'packets'.

Parameters:
packets - the value of field 'packets'.

setQueuedIts

public void setQueuedIts(java.lang.Double queuedIts)
Sets the value of field 'queuedIts'.

Parameters:
queuedIts - the value of field 'queuedIts'.

setTimeIntervalsPerYear

public void setTimeIntervalsPerYear(java.lang.Long timeIntervalsPerYear)
Sets the value of field 'timeIntervalsPerYear'.

Parameters:
timeIntervalsPerYear - the value of field 'timeIntervalsPerYear'.

setType

public void setType(picsou.data.types.AlgorithmTypeType type)
Sets the value of field 'type'.

Parameters:
type - the value of field 'type'.

unmarshal

public static Algorithm unmarshal(java.io.Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled picsou.data.Algorithm
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema