com.ibm.commerce.catalog.beans
Class CatalogEntryRelationDataBean

java.lang.Object
  |
  +--com.ibm.commerce.catalog.beansrc.CatalogEntryRelationDataBeanBase
        |
        +--com.ibm.commerce.catalog.beans.CatalogEntryRelationDataBean

public class CatalogEntryRelationDataBean
extends com.ibm.commerce.catalog.beansrc.CatalogEntryRelationDataBeanBase

This data bean represents a relation object between a parent catalog entry and a child catalog entry.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
protected  CommandContext iCommandContext
           
protected  java.lang.String iDataBeanKeyCatalogEntryIdChild
           
protected  java.lang.String iDataBeanKeyCatalogEntryIdParent
           
protected  java.lang.String iDataBeanKeyCatalogRelationTypeId
           
protected  TypedProperty iRequestProperties
           
 
Constructor Summary
CatalogEntryRelationDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyCatalogEntryIdChild()
          Gets the catalog entry ID of the child of this catalog entry.
 java.lang.String getDataBeanKeyCatalogEntryIdParent()
          Gets the catalog entry ID of the parent of this catalog entry.
 java.lang.String getDataBeanKeyCatalogRelationTypeId()
          Gets the type of the relation.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Populates by retrieving data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyCatalogEntryIdChild(java.lang.String aCatalogEntryIdChild)
          Sets the catalog entry ID of the child.
 void setDataBeanKeyCatalogEntryIdParent(java.lang.String aCatalogEntryIdParent)
          Sets the catalog entry ID of the parent of this catalog entry.
 void setDataBeanKeyCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
          Sets the relation type.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request properties 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
The internal copyright field.
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyCatalogEntryIdParent

protected java.lang.String iDataBeanKeyCatalogEntryIdParent

iDataBeanKeyCatalogRelationTypeId

protected java.lang.String iDataBeanKeyCatalogRelationTypeId

iDataBeanKeyCatalogEntryIdChild

protected java.lang.String iDataBeanKeyCatalogEntryIdChild
Constructor Detail

CatalogEntryRelationDataBean

public CatalogEntryRelationDataBean()
Method Detail

getRequestProperties

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

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request properties within this bean.
Throws:
CreateException - In the execution of the method, a create exception occurs.
FinderException - In the execution of the method, a finder exception occurs.
NamingException - In the execution of the method, a naming exception occurs.
RemoteException - In the execution of the method, a remote exception occurs.

getDataBeanKeyCatalogEntryIdParent

public java.lang.String getDataBeanKeyCatalogEntryIdParent()
Gets the catalog entry ID of the parent of this catalog entry.
Returns:
The catalog entry ID of the parent.

getDataBeanKeyCatalogRelationTypeId

public java.lang.String getDataBeanKeyCatalogRelationTypeId()
Gets the type of the relation.
Returns:
The relation type.

getDataBeanKeyCatalogEntryIdChild

public java.lang.String getDataBeanKeyCatalogEntryIdChild()
Gets the catalog entry ID of the child of this catalog entry.
Returns:
The catalog entry of the child.

getCommandContext

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

setCommandContext

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

setDataBeanKeyCatalogEntryIdParent

public void setDataBeanKeyCatalogEntryIdParent(java.lang.String aCatalogEntryIdParent)
Sets the catalog entry ID of the parent of this catalog entry.
Parameters:
aCatalogEntryIdParent - The catalog entry ID of the parent.

setDataBeanKeyCatalogRelationTypeId

public void setDataBeanKeyCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
Sets the relation type.
Parameters:
aCatalogRelationTypeId - The relation type.

setDataBeanKeyCatalogEntryIdChild

public void setDataBeanKeyCatalogEntryIdChild(java.lang.String aCatalogEntryIdChild)
Sets the catalog entry ID of the child.
Parameters:
aCatalogEntryIdChild - The catalog entry ID of the child.

populate

public void populate()
              throws java.lang.Exception
Populates by retrieving data from the database.
Throws:
java.lang.Exception - An exception occurs during the execution of the method.