com.ibm.commerce.contract.beans
Class ContractDataBean

java.lang.Object
  |
  +--com.ibm.commerce.contract.beansrc.ContractDataBeanBase
        |
        +--com.ibm.commerce.contract.beans.ContractDataBean

public class ContractDataBean
extends com.ibm.commerce.contract.beansrc.ContractDataBeanBase

Gets the contract data from the database.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyReferenceNumber
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
ContractDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyReferenceNumber()
          Gets the contract ID.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyReferenceNumber(java.lang.String aReferenceNumber)
          Sets the contract ID.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request property within this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyReferenceNumber

protected java.lang.String iDataBeanKeyReferenceNumber
Constructor Detail

ContractDataBean

public ContractDataBean()
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request property set within this bean.

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
java.rmi.RemoteException - The java.rmi.RemoteException exception.
javax.naming.NamingException - The javax.naming.NamingException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.

getDataBeanKeyReferenceNumber

public java.lang.String getDataBeanKeyReferenceNumber()
Gets the contract ID.
Returns:
The contract ID.

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
The command context set within this bean.

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - The command context set within this bean.

setDataBeanKeyReferenceNumber

public void setDataBeanKeyReferenceNumber(java.lang.String aReferenceNumber)
Sets the contract ID.
Parameters:
aReferenceNumber - The contract ID.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception - The java.lang.Exception exception.