picsou.data
Class Price
java.lang.Object
picsou.data.PriceType
picsou.data.Price
- All Implemented Interfaces:
- java.io.Serializable
public class Price
- extends PriceType
- implements java.io.Serializable
Class Price.
- See Also:
- Serialized Form
Constructor Summary |
Price()
|
Methods inherited from class picsou.data.PriceType |
getCallCI, getCallPrice, getCallVariance, getCompletedSimulations, getPutCI, getPutPrice, getPutVariance, getSumX, getSumXX, setCallCI, setCallPrice, setCallVariance, setCompletedSimulations, setPutCI, setPutPrice, setPutVariance, setSumX, setSumXX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Price
public Price()
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid
in class PriceType
- 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
- Overrides:
marshal
in class PriceType
- 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
- Overrides:
marshal
in class PriceType
- 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
unmarshal
public static PriceType 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.PriceType
- 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
- Overrides:
validate
in class PriceType
- Throws:
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema