org.hibernate.test.annotations.embedded
Class SpreadDeal

java.lang.Object
  extended by org.hibernate.test.annotations.embedded.Deal
      extended by org.hibernate.test.annotations.embedded.NotonialDeal
          extended by org.hibernate.test.annotations.embedded.SpreadDeal

@Entity
public class SpreadDeal
extends NotonialDeal

Represents a "curve spread" deal that consists of two Interest Rate Swaps with different tenors (short and long). For simplicity, tenors are not considered here.


Constructor Summary
SpreadDeal()
           
 
Method Summary
 Swap getLongSwap()
           
 Swap getShortSwap()
           
 void setLongSwap(Swap swap)
           
 void setShortSwap(Swap shortSwap)
           
 
Methods inherited from class org.hibernate.test.annotations.embedded.NotonialDeal
getNotional, setNotional
 
Methods inherited from class org.hibernate.test.annotations.embedded.Deal
getId, getSwap, setId, setSwap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpreadDeal

public SpreadDeal()
Method Detail

getLongSwap

public Swap getLongSwap()

setLongSwap

public void setLongSwap(Swap swap)

getShortSwap

public Swap getShortSwap()

setShortSwap

public void setShortSwap(Swap shortSwap)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.