| |
|
| java.lang.Object poker.data.DODS_Fortune.FortuneBDO
FortuneBDO | public class FortuneBDO implements java.io.Serializable(Code) | | FortuneBDO contains the same set and get methods as
the FortuneDO class.
Business Object (BO) classes typically need these set and get methods.
So by deriving a BO from a BDO, or by implementing a BO that
contains a BDO, the developer of the BO is spared some work.
author: version: $Revision: 1.1 $ |
Field Summary | |
protected FortuneDO | DO The FortuneDO object upon which the set and get methods operate. |
DO | protected FortuneDO DO(Code) | | The FortuneDO object upon which the set and get methods operate.
This member is protected so that classes derived from FortuneBDO
can access the underlying Data Object.
|
afterAnySet | protected void afterAnySet()(Code) | | |
beforeAnyGet | protected void beforeAnyGet()(Code) | | The developer of a Business Object that derives from this class
can override the methods:
beforeAnyGet
beforeAnySet
afterAnySet
to handle any general assertions or cleanup needed
for get and set methods.
|
beforeAnySet | protected void beforeAnySet()(Code) | | |
createExisting | public static FortuneBDO createExisting(FortuneDO DO)(Code) | | The createExisting method is used to create a FortuneBDO
from a FortuneDO that was returned by
the FortuneQuery class.
|
createVirgin | public static FortuneBDO createVirgin() throws Exception(Code) | | Like the class FortuneDO ,
this class acts as a factory.
Business Object (BO) classes typically need these set and get methods.
So by deriving a BO from a BDO, or by implementing a BO that
contains one or more BDOs, the developer of the BO is spared some work.
|
getFortune | public String getFortune() throws DataObjectException(Code) | | Get Fortune of the FortuneDO
Fortune of the FortuneDO |
getFortuneNumber | public java.math.BigDecimal getFortuneNumber() throws DataObjectException(Code) | | Get FortuneNumber of the FortuneDO
FortuneNumber of the FortuneDO |
getHasBeenUsed | public boolean getHasBeenUsed() throws DataObjectException(Code) | | Get HasBeenUsed of the FortuneDO
HasBeenUsed of the FortuneDO |
setFortune | public void setFortune(String Fortune) throws DataObjectException(Code) | | Set Fortune of the FortuneDO
Parameters: Fortune - of the FortuneDO |
setFortuneNumber | public void setFortuneNumber(java.math.BigDecimal FortuneNumber) throws DataObjectException(Code) | | Set FortuneNumber of the FortuneDO
Parameters: FortuneNumber - of the FortuneDO |
setHasBeenUsed | public void setHasBeenUsed(boolean HasBeenUsed) throws DataObjectException(Code) | | Set HasBeenUsed of the FortuneDO
Parameters: HasBeenUsed - of the FortuneDO |
|
|
|