public class ATMVolVO
extends java.lang.Object
implements java.io.Serializable
years
.Constructor and Description |
---|
ATMVolVO()
Default Constructor
|
ATMVolVO(ATMVolVO otherBean)
Copies constructor from other ATMVolVO
|
ATMVolVO(double yearsIn,
double callVolIn,
double putVolIn)
Constructor with all properties
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
double |
getCallVol()
The Call at-the-money Volatility
|
double |
getPutVol()
The Put at-the-money Volatility
|
double |
getYears()
The time-to-expiration represented in
years |
int |
hashCode() |
void |
setCallVol(double value)
The Call at-the-money Volatility
|
void |
setPutVol(double value)
The Put at-the-money Volatility
|
void |
setYears(double value)
The time-to-expiration represented in
years |
java.lang.String |
toString() |
public ATMVolVO()
public ATMVolVO(double yearsIn, double callVolIn, double putVolIn)
yearsIn
- doublecallVolIn
- doubleputVolIn
- doublepublic ATMVolVO(ATMVolVO otherBean)
otherBean
- Cannot be null
java.lang.NullPointerException
- if the argument is null
public double getYears()
years
public void setYears(double value)
years
value
- doublepublic double getCallVol()
public void setCallVol(double value)
value
- doublepublic double getPutVol()
public void setPutVol(double value)
value
- doublepublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object