org.hibernate.test.annotations.embedded
Class VanillaSwap

java.lang.Object
  extended by org.hibernate.test.annotations.embedded.VanillaSwap

@Entity
public class VanillaSwap
extends Object

Represents an Interest Rate Swap.


Nested Class Summary
static class VanillaSwap.Currency
          Possible values for the currency field.
 
Constructor Summary
VanillaSwap()
           
 
Method Summary
 VanillaSwap.Currency getCurrency()
           
 FixedLeg getFixedLeg()
           
 FloatLeg getFloatLeg()
           
 String getInstrumentId()
           
 void setCurrency(VanillaSwap.Currency currency)
           
 void setFixedLeg(FixedLeg fixedLeg)
           
 void setFloatLeg(FloatLeg floatLeg)
           
 void setInstrumentId(String instrumentId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VanillaSwap

public VanillaSwap()
Method Detail

getFixedLeg

public FixedLeg getFixedLeg()

setFixedLeg

public void setFixedLeg(FixedLeg fixedLeg)

getFloatLeg

public FloatLeg getFloatLeg()

setFloatLeg

public void setFloatLeg(FloatLeg floatLeg)

getCurrency

public VanillaSwap.Currency getCurrency()

setCurrency

public void setCurrency(VanillaSwap.Currency currency)

getInstrumentId

public String getInstrumentId()

setInstrumentId

public void setInstrumentId(String instrumentId)


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