com.ftlabs.fisa
Class MaturingCallableSecurity

java.lang.Object
  extended by com.ftlabs.fisa.AbstractSecurity
      extended by com.ftlabs.fisa.MaturingSecurity
          extended by com.ftlabs.fisa.MaturingCallableSecurity
All Implemented Interfaces:
Security, java.io.Serializable
Direct Known Subclasses:
FixedInterestRateSecurity, InterestAtMaturitySecurity, SteppedCouponSecurity, ZeroCouponSecurity

public abstract class MaturingCallableSecurity
extends MaturingSecurity

Abstract Security implementation that includes call information.

See Also:
Serialized Form

Constructor Summary
MaturingCallableSecurity(Market market)
          Creates an AbstractCallableSecurity object of the given Market.
 
Method Summary
 QuoteAnalytics createQuoteAnalytics(Quote quote, FISADate settlementDate)
           
 CallSchedule getCallSchedule()
          Get the CallSchedule for this Security.
 java.util.Collection getRedemptions()
          Get a Collection of all Redemptions.
 void setCallSchedule(CallSchedule callSchedule)
          Set the CallSchedule for this Security.
 
Methods inherited from class com.ftlabs.fisa.MaturingSecurity
calculate, calculate, calculateAccruedInterest, calculatePrice, calculatePrice, calculateYield, calculateYield, getCalculator, getMaturity, getMaturityDate, setMaturity, setMaturity, setMaturity
 
Methods inherited from class com.ftlabs.fisa.AbstractSecurity
addSecurityInvalidationListener, getDatedDate, getDayCountBasis, getMarket, getParValue, invalidate, isEomAdjust, removeSecurityInvalidationListener, setDatedDate, setDayCountBasis, setEomAdjust, setParValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ftlabs.fisa.Security
getCalculator
 

Constructor Detail

MaturingCallableSecurity

public MaturingCallableSecurity(Market market)
Creates an AbstractCallableSecurity object of the given Market.

Parameters:
market - required and immutable Market for this security. This constructor will throw a NullPointerException if Market is null.
Method Detail

setCallSchedule

public void setCallSchedule(CallSchedule callSchedule)
Set the CallSchedule for this Security.

Parameters:
callSchedule -

getCallSchedule

public CallSchedule getCallSchedule()
Get the CallSchedule for this Security.

Returns:
the CallSchedule for this Security.

createQuoteAnalytics

public QuoteAnalytics createQuoteAnalytics(Quote quote,
                                           FISADate settlementDate)
                                    throws CalculationException
Specified by:
createQuoteAnalytics in interface Security
Overrides:
createQuoteAnalytics in class MaturingSecurity
Throws:
CalculationException

getRedemptions

public java.util.Collection getRedemptions()
Get a Collection of all Redemptions.

Specified by:
getRedemptions in interface Security
Overrides:
getRedemptions in class MaturingSecurity
Returns:
a Collection of all Redemptions.