com.ibm.commerce.utf.objects
Class PAttrProdAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.utf.objects.PAttrProdAccessBean
All Implemented Interfaces:
PAttrProdAccessBeanData, java.io.Serializable

public class PAttrProdAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PAttrProdAccessBeanData

This bean provides access to the PATTRPROD table.

The following is a description of this table:

The relationship table between the PATTRIBUTE and CATENTRY tables.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PAttrProdAccessBean()
          Default constructor.
PAttrProdAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
PAttrProdAccessBean(java.lang.Long aPAttributeId, java.lang.Long aCatalogEntryId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByAttributeId(java.lang.Long aPAttributeId)
          Retrieves the PAttrProdAccessBeans that match the specified Language.
 java.util.Enumeration findByCatentryId(java.lang.Long aCatalogEntryId)
          Retrieves the PAttrProdAccessBeans that match the specified Language.
 java.lang.String getAttributeId()
          This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAttributeIdInEJBType()
          This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCatentryId()
          This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatentryIdInEJBType()
          This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAttributeId(java.lang.Long aAttributeId)
          This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 void setAttributeId(java.lang.String aAttributeId)
          This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
 void setCatentryId(java.lang.Long aCatentryId)
          This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatentryId(java.lang.String aCatentryId)
          This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_attributeId(java.lang.Long aInitKey_attributeId)
          Set the primary key for this object
 void setInitKey_catentryId(java.lang.Long aInitKey_catentryId)
          Set the primary key for this object
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PAttrProdAccessBean

public PAttrProdAccessBean()

Default constructor. Maps to findByPrimaryKey.


PAttrProdAccessBean

public PAttrProdAccessBean(javax.ejb.EJBObject aEJBObject)
                    throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

PAttrProdAccessBean

public PAttrProdAccessBean(java.lang.Long aPAttributeId,
                           java.lang.Long aCatalogEntryId)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
aPAttributeId - the PAttribute ID
aCatalogEntryId - the CatalogEntry ID
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByAttributeId

public java.util.Enumeration findByAttributeId(java.lang.Long aPAttributeId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Retrieves the PAttrProdAccessBeans that match the specified Language.

The SQL query used to fetch all the required row from the PATTRPROD table is:
SELECT * FROM PATTRPROD T1 WHERE
T1.PATTRIBUTE_ID = ?

Parameters:
aPAttributeId - the PAttribute ID
Returns:
An Enumeration of all the PAttrProdAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByCatentryId

public java.util.Enumeration findByCatentryId(java.lang.Long aCatalogEntryId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves the PAttrProdAccessBeans that match the specified Language.

The SQL query used to fetch all the required row from the PATTRPROD table is:
SELECT * FROM PATTRPROD T1 WHERE
T1.CATENTRY_ID = ?

Parameters:
aCatalogEntryId - the CatalogEntry ID
Returns:
An Enumeration of all the PAttrProdAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAttributeId

public java.lang.String getAttributeId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the P Attribute.

Specified by:
getAttributeId in interface PAttrProdAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAttributeIdInEJBType

public java.lang.Long getAttributeIdInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the P Attribute.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCatentryId

public java.lang.String getCatentryId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Specified by:
getCatentryId in interface PAttrProdAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCatentryIdInEJBType

public java.lang.Long getCatentryIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAttributeId

public void setAttributeId(java.lang.Long aAttributeId)

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the P Attribute.

Parameters:
aAttributeId - java.lang.Long
Returns:
void

setAttributeId

public void setAttributeId(java.lang.String aAttributeId)

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the P Attribute.

Specified by:
setAttributeId in interface PAttrProdAccessBeanData
Parameters:
aAttributeId - java.lang.String
Returns:
void

setCatentryId

public void setCatentryId(java.lang.Long aCatentryId)

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Parameters:
aCatentryId - java.lang.Long
Returns:
void

setCatentryId

public void setCatentryId(java.lang.String aCatentryId)

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Specified by:
setCatentryId in interface PAttrProdAccessBeanData
Parameters:
aCatentryId - java.lang.String
Returns:
void

setInitKey_attributeId

public void setInitKey_attributeId(java.lang.Long aInitKey_attributeId)

Set the primary key for this object

Parameters:
aInitKey_attributeId - java.lang.Long
Returns:
void

setInitKey_catentryId

public void setInitKey_catentryId(java.lang.Long aInitKey_catentryId)

Set the primary key for this object

Parameters:
aInitKey_catentryId - java.lang.Long
Returns:
void