|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpicsou.data.Params
public class Params
Class Params.
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 |
---|
public Params()
Method Detail |
---|
public java.util.Date getDate()
public java.lang.String getName()
public java.lang.Double getRiskFreeRate()
public java.lang.Double getStartPrice()
public java.lang.Double getStrikePrice()
public java.lang.Double getTimeToMaturity()
public java.lang.Double getVolatility()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
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 schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
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 marshalingpublic void setDate(java.util.Date date)
date
- the value of field 'date'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setRiskFreeRate(java.lang.Double riskFreeRate)
riskFreeRate
- the value of field 'riskFreeRate'.public void setStartPrice(java.lang.Double startPrice)
startPrice
- the value of field 'startPrice'.public void setStrikePrice(java.lang.Double strikePrice)
strikePrice
- the value of field 'strikePrice'.public void setTimeToMaturity(java.lang.Double timeToMaturity)
timeToMaturity
- the value of field 'timeToMaturity'.public void setVolatility(java.lang.Double volatility)
volatility
- the value of field 'volatility'.public static Params unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
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 schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |