picsou.data
Class Params

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

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

Class Params.

See Also:
Serialized Form

Constructor Summary
Params()
           
 
Method Summary
 java.util.Date getDate()
          Returns the value of field 'date'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.Double getRiskFreeRate()
          Returns the value of field 'riskFreeRate'.
 java.lang.Double getStartPrice()
          Returns the value of field 'startPrice'.
 java.lang.Double getStrikePrice()
          Returns the value of field 'strikePrice'.
 java.lang.Double getTimeToMaturity()
          Returns the value of field 'timeToMaturity'.
 java.lang.Double getVolatility()
          Returns the value of field 'volatility'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setDate(java.util.Date date)
          Sets the value of field 'date'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setRiskFreeRate(java.lang.Double riskFreeRate)
          Sets the value of field 'riskFreeRate'.
 void setStartPrice(java.lang.Double startPrice)
          Sets the value of field 'startPrice'.
 void setStrikePrice(java.lang.Double strikePrice)
          Sets the value of field 'strikePrice'.
 void setTimeToMaturity(java.lang.Double timeToMaturity)
          Sets the value of field 'timeToMaturity'.
 void setVolatility(java.lang.Double volatility)
          Sets the value of field 'volatility'.
static Params 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

Params

public Params()
Method Detail

getDate

public java.util.Date getDate()
Returns the value of field 'date'.

Returns:
the value of field 'Date'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'Name'.

getRiskFreeRate

public java.lang.Double getRiskFreeRate()
Returns the value of field 'riskFreeRate'.

Returns:
the value of field 'RiskFreeRate'.

getStartPrice

public java.lang.Double getStartPrice()
Returns the value of field 'startPrice'.

Returns:
the value of field 'StartPrice'.

getStrikePrice

public java.lang.Double getStrikePrice()
Returns the value of field 'strikePrice'.

Returns:
the value of field 'StrikePrice'.

getTimeToMaturity

public java.lang.Double getTimeToMaturity()
Returns the value of field 'timeToMaturity'.

Returns:
the value of field 'TimeToMaturity'.

getVolatility

public java.lang.Double getVolatility()
Returns the value of field 'volatility'.

Returns:
the value of field 'Volatility'.

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

setDate

public void setDate(java.util.Date date)
Sets the value of field 'date'.

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

setName

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

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

setRiskFreeRate

public void setRiskFreeRate(java.lang.Double riskFreeRate)
Sets the value of field 'riskFreeRate'.

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

setStartPrice

public void setStartPrice(java.lang.Double startPrice)
Sets the value of field 'startPrice'.

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

setStrikePrice

public void setStrikePrice(java.lang.Double strikePrice)
Sets the value of field 'strikePrice'.

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

setTimeToMaturity

public void setTimeToMaturity(java.lang.Double timeToMaturity)
Sets the value of field 'timeToMaturity'.

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

setVolatility

public void setVolatility(java.lang.Double volatility)
Sets the value of field 'volatility'.

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

unmarshal

public static Params 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.Params
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