picsou.data
Class Asset

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

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

Class Asset.

See Also:
Serialized Form

Constructor Summary
Asset()
           
 
Method Summary
 ExpectedPrice getExpectedPrice()
          Returns the value of field 'expectedPrice'.
 Params getParams()
          Returns the value of field 'params'.
 Performance getPerformance()
          Returns the value of field 'performance'.
 Price getPrice()
          Returns the value of field 'price'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setExpectedPrice(ExpectedPrice expectedPrice)
          Sets the value of field 'expectedPrice'.
 void setParams(Params params)
          Sets the value of field 'params'.
 void setPerformance(Performance performance)
          Sets the value of field 'performance'.
 void setPrice(Price price)
          Sets the value of field 'price'.
static Asset 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

Asset

public Asset()
Method Detail

getExpectedPrice

public ExpectedPrice getExpectedPrice()
Returns the value of field 'expectedPrice'.

Returns:
the value of field 'ExpectedPrice'.

getParams

public Params getParams()
Returns the value of field 'params'.

Returns:
the value of field 'Params'.

getPerformance

public Performance getPerformance()
Returns the value of field 'performance'.

Returns:
the value of field 'Performance'.

getPrice

public Price getPrice()
Returns the value of field 'price'.

Returns:
the value of field 'Price'.

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

setExpectedPrice

public void setExpectedPrice(ExpectedPrice expectedPrice)
Sets the value of field 'expectedPrice'.

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

setParams

public void setParams(Params params)
Sets the value of field 'params'.

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

setPerformance

public void setPerformance(Performance performance)
Sets the value of field 'performance'.

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

setPrice

public void setPrice(Price price)
Sets the value of field 'price'.

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

unmarshal

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