org.hibernate.test.cut
Class MonetoryAmount

java.lang.Object
  extended by org.hibernate.test.cut.MonetoryAmount
All Implemented Interfaces:
Serializable

public class MonetoryAmount
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MonetoryAmount(BigDecimal amount, Currency currency)
           
 
Method Summary
 BigDecimal getAmount()
           
 Currency getCurrency()
           
 void setAmount(BigDecimal amount)
           
 void setCurrency(Currency currency)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonetoryAmount

public MonetoryAmount(BigDecimal amount,
                      Currency currency)
Method Detail

getAmount

public BigDecimal getAmount()

setAmount

public void setAmount(BigDecimal amount)

getCurrency

public Currency getCurrency()

setCurrency

public void setCurrency(Currency currency)


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