org.hibernate.test.annotations.mappedsuperclass.intermediate
Class SavingsAccountBase

java.lang.Object
  extended by org.hibernate.test.annotations.mappedsuperclass.intermediate.AccountBase
      extended by org.hibernate.test.annotations.mappedsuperclass.intermediate.Account
          extended by org.hibernate.test.annotations.mappedsuperclass.intermediate.SavingsAccountBase
Direct Known Subclasses:
SavingsAccount

@MappedSuperclass
public abstract class SavingsAccountBase
extends Account

Represents the intermediate mapped superclass in the hierarchy.


Constructor Summary
protected SavingsAccountBase()
           
protected SavingsAccountBase(String accountNumber, BigDecimal withdrawalLimit)
           
 
Method Summary
 BigDecimal getWithdrawalLimit()
           
 void setWithdrawalLimit(BigDecimal withdrawalLimit)
           
 
Methods inherited from class org.hibernate.test.annotations.mappedsuperclass.intermediate.AccountBase
getAccountNumber, getId, setAccountNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SavingsAccountBase

protected SavingsAccountBase()

SavingsAccountBase

protected SavingsAccountBase(String accountNumber,
                             BigDecimal withdrawalLimit)
Method Detail

getWithdrawalLimit

public BigDecimal getWithdrawalLimit()

setWithdrawalLimit

public void setWithdrawalLimit(BigDecimal withdrawalLimit)


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