org.hibernate.test.annotations.entity
Class MonetaryAmount

java.lang.Object
  extended by org.hibernate.test.annotations.entity.MonetaryAmount
All Implemented Interfaces:
Serializable

public class MonetaryAmount
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MonetaryAmount(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

MonetaryAmount

public MonetaryAmount(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.