com.ibm.commerce.catalog.objects
Class CatalogGroupAttributeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.CatalogGroupAttributeAccessBean
All Implemented Interfaces:
CatalogGroupAttributeAccessBeanData

public class CatalogGroupAttributeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupAttributeAccessBeanData

This table holds descriptive Attributes for CatalogGroups. These Attributes are only used for descriptive purposes.

See Also:
Serialized Form

Constructor Summary
CatalogGroupAttributeAccessBean()
          constructor
CatalogGroupAttributeAccessBean(javax.ejb.EJBObject o)
          constructor
CatalogGroupAttributeAccessBean(java.lang.Long arg0, java.lang.Integer arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogGroup(java.lang.Long arg0, java.lang.Integer arg1)
          Finds the catalog group attribute with the attribute reference number and language.
 java.lang.String getCatalogGroupReferenceNumber()
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogGroupReferenceNumberInEJBType()
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254).
 java.lang.String getName()
          This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getOid()
          This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32).
 java.lang.String getSequence()
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
 java.lang.Double getSequenceInEJBType()
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogGroupReferenceNumber(java.lang.Long newValue)
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogGroupReferenceNumber(java.lang.String newValue)
          This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setDescription(java.lang.String newValue)
          This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254).
 void setInitKey_attributeReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_language_id(java.lang.String newValue)
          Set the primary key for this object
 void setName(java.lang.String newValue)
          This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setOid(java.lang.String newValue)
          This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32).
 void setSequence(java.lang.Double newValue)
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
 void setSequence(java.lang.String newValue)
          This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean()
constructor

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean(javax.ejb.EJBObject o)
                                throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CatalogGroupAttributeAccessBean

public CatalogGroupAttributeAccessBean(java.lang.Long arg0,
                                       java.lang.Integer arg1)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail

findByCatalogGroup

public java.util.Enumeration findByCatalogGroup(java.lang.Long arg0,
                                                java.lang.Integer arg1)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Finds the catalog group attribute with the attribute reference number and language.

SQL:
SELECT DESCRIPTION, CATGRPATTR_ID, OID, LANGUAGE_ID, NAME, CATGROUP_ID, SEQUENCE FROM CATGRPATTR WHERE CATGROUP_ID = catGrpID AND LANGUAGE_ID = languageID

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_language_id

public void setInitKey_language_id(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_attributeReferenceNumber

public void setInitKey_attributeReferenceNumber(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDescription

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

This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

The description of this CatalogGroup Attribute.

Specified by:
getDescription in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newValue)

This method provides access to the CATGRPATTR.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

The description of this CatalogGroup Attribute.

Specified by:
setDescription in interface CatalogGroupAttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getCatalogGroupReferenceNumber

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

This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntryGroup described by this Attribute.

Specified by:
getCatalogGroupReferenceNumber in interface CatalogGroupAttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogGroupReferenceNumberInEJBType

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

This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntryGroup described by this Attribute.

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

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.String newValue)

This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntryGroup described by this Attribute.

Specified by:
setCatalogGroupReferenceNumber in interface CatalogGroupAttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatalogGroupReferenceNumber

public void setCatalogGroupReferenceNumber(java.lang.Long newValue)

This method provides access to the CATGRPATTR.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntryGroup described by this Attribute.

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

getOid

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

This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOid in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOid

public void setOid(java.lang.String newValue)

This method provides access to the CATGRPATTR.OID column of DB2 type CHAR(32).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOid in interface CatalogGroupAttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getSequence

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

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number that is used to determine the display order.

Specified by:
getSequence in interface CatalogGroupAttributeAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSequenceInEJBType

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

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number that is used to determine the display order.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSequence

public void setSequence(java.lang.String newValue)

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number that is used to determine the display order.

Specified by:
setSequence in interface CatalogGroupAttributeAccessBeanData
Parameters:
newValue - String
Returns:
void

setSequence

public void setSequence(java.lang.Double newValue)

This method provides access to the CATGRPATTR.SEQUENCE column of DB2 type DOUBLE.

The following is a description of this column:

The sequence number that is used to determine the display order.

Parameters:
newValue - java.lang.Double
Returns:
void

getName

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

This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this CatalogGroup Attribute.

Specified by:
getName in interface CatalogGroupAttributeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)

This method provides access to the CATGRPATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this CatalogGroup Attribute.

Specified by:
setName in interface CatalogGroupAttributeAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void