com.ibm.commerce.fulfillment.beans
Class CalculationCodeDataBean

java.lang.Object
  |
  +--com.ibm.commerce.fulfillment.beansrc.CalculationCodeDataBeanBase
        |
        +--com.ibm.commerce.fulfillment.beans.CalculationCodeDataBean

public class CalculationCodeDataBean
extends com.ibm.commerce.fulfillment.beansrc.CalculationCodeDataBeanBase

IBM internal use only.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright
protected  CommandContext iCommandContext
          Command context
protected  java.lang.String iDataBeanKeyCalculationCodeId
          Calculation Code Id
protected  TypedProperty iRequestProperties
          Request properties
 
Constructor Summary
CalculationCodeDataBean()
           
 
Method Summary
  CatalogEntryDataBean[] getAttachedCatalogEntryDataBeans()
          Returns attached CatalogEntryDataBean array
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyCalculationCodeId()
          Returns CaculationCodeId
  CalculationCodeDescriptionDataBean getDescriptionDataBean()
          Returns the CalculationCodeDescriptionDataBean of this CalculationCode that corresponds to the current Language.
 java.lang.String getDescriptionString()
          Returns the description string of this CalculationCode that corresponds to the current Language.
 java.lang.String getLongDescriptionString()
          Returns the long description string of this CalculationCode that corresponds to the current Language.
  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 setDataBeanKeyCalculationCodeId(java.lang.String aCalculationCodeId)
          Sets CalculationCodeId
 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
IBM Copyright
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext
Command context

iRequestProperties

protected TypedProperty iRequestProperties
Request properties

iDataBeanKeyCalculationCodeId

protected java.lang.String iDataBeanKeyCalculationCodeId
Calculation Code Id
Constructor Detail

CalculationCodeDataBean

public CalculationCodeDataBean()
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
com.ibm.commerce.datatype.TypedProperty

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.
Parameters:
aRequestProperty - TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyCalculationCodeId

public java.lang.String getDataBeanKeyCalculationCodeId()
Returns CaculationCodeId
Returns:
java.lang.String

getCommandContext

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

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext

setDataBeanKeyCalculationCodeId

public void setDataBeanKeyCalculationCodeId(java.lang.String aCalculationCodeId)
Sets CalculationCodeId
Parameters:
aCalculationCodeId - java.lang.String

populate

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

getDescriptionDataBean

public CalculationCodeDescriptionDataBean getDescriptionDataBean()
Returns the CalculationCodeDescriptionDataBean of this CalculationCode that corresponds to the current Language.
Returns:
the CalculationCodeDescriptionDataBean, or null if none is found or an error has occurred during its retrieval.

getDescriptionString

public java.lang.String getDescriptionString()
Returns the description string of this CalculationCode that corresponds to the current Language. Equivalent to getDescriptionDataBean().getDescription().
Returns:
the description string, or null if none is found or an error has occurred during its retrieval.

getLongDescriptionString

public java.lang.String getLongDescriptionString()
Returns the long description string of this CalculationCode that corresponds to the current Language. Equivalent to getDescriptionDataBean().getLongDescription().
Returns:
the long description string, or null if none is found or an error has occurred during its retrieval.

getAttachedCatalogEntryDataBeans

public CatalogEntryDataBean[] getAttachedCatalogEntryDataBeans()
Returns attached CatalogEntryDataBean array
Returns: