com.ibm.commerce.catalog.objects
Class OperatorDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.OperatorDescriptionAccessBean
All Implemented Interfaces:
OperatorDescriptionAccessBeanData, java.io.Serializable

public class OperatorDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OperatorDescriptionAccessBeanData

This bean provides access to the OPERATRDSC table.

The following is a description of this table:

This table holds the language-dependent information related to an operator.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OperatorDescriptionAccessBean()
          Default constructor.
OperatorDescriptionAccessBean(javax.ejb.EJBObject OperatorDescriptionEJBObject)
          Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
OperatorDescriptionAccessBean(java.lang.Integer anOperatorId, java.lang.Integer anLanguageId)
          Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByLanguage(java.lang.Integer anLanguageId)
          This method returns an enumeration of OperatorDescription Access Beans with the specified Language reference number.
 java.lang.String getDescription()
          This method provides access to the OPERATRDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getOperatorId()
          This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getOperatorIdInEJBType()
          This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String astrDescription)
          This method provides access to the OPERATRDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_operatorId(java.lang.String aInitKey_operatorId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer anLanguageId)
          This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String astrLanguageId)
          This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setOperatorId(java.lang.Integer anOperatorId)
          This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 void setOperatorId(java.lang.String aOperatorId)
          This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 
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

OperatorDescriptionAccessBean

public OperatorDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


OperatorDescriptionAccessBean

public OperatorDescriptionAccessBean(javax.ejb.EJBObject OperatorDescriptionEJBObject)
                              throws java.rmi.RemoteException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.

Parameters:
OperatorDescriptionEJBObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

OperatorDescriptionAccessBean

public OperatorDescriptionAccessBean(java.lang.Integer anOperatorId,
                                     java.lang.Integer anLanguageId)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the OperatorDescription according to the Operator reference number and the Language reference number.

Parameters:
anOperatorId - The Operator reference number. java.lang.Integer
anLanguageId - The Language reference number. java.lang.Integer
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

findByLanguage

public java.util.Enumeration findByLanguage(java.lang.Integer anLanguageId)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method returns an enumeration of OperatorDescription Access Beans with the specified Language reference number.

SQL:
SELECT * FROM OPERATRDSC WHERE OPERATRDSC.LANGUAGE_ID = anLanguageId

Parameters:
anLanguageId - java.lang.Integer
Returns:
java.util.Enumeration
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

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 OPERATRDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The display string for the operator. For Example, "Between", "Set", "Equals", or "Greater Than".

Specified by:
getDescription in interface OperatorDescriptionAccessBeanData
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

getLanguageId

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

This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The identifier of the Language. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface OperatorDescriptionAccessBeanData
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

getLanguageIdInEJBType

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

This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The identifier of the Language. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer
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

getOperatorId

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

This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number that indicates the operator related to the language specific information.

Specified by:
getOperatorId in interface OperatorDescriptionAccessBeanData
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

getOperatorIdInEJBType

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

This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number that indicates the operator related to the language specific information.

Returns:
java.lang.Integer
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

setDescription

public void setDescription(java.lang.String astrDescription)

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

The following is a description of this column:

The display string for the operator. For Example, "Between", "Set", "Equals", or "Greater Than".

Specified by:
setDescription in interface OperatorDescriptionAccessBeanData
Parameters:
astrDescription - The language dependent description for the operator. java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

Parameters:
aInitKey_languageId - The Language reference number. java.lang.String
Returns:
void

setInitKey_operatorId

public void setInitKey_operatorId(java.lang.String aInitKey_operatorId)

Set the primary key for this object

Parameters:
aInitKey_operatorId - The Operator reference number. java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer anLanguageId)

This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The identifier of the Language. For a list of language components, see the LANGUAGE table.

Parameters:
anLanguageId - The Language reference number. java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String astrLanguageId)

This method provides access to the OPERATRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The identifier of the Language. For a list of language components, see the LANGUAGE table.

Specified by:
setLanguageId in interface OperatorDescriptionAccessBeanData
Parameters:
astrLanguageId - The Language reference number. java.lang.String
Returns:
void

setOperatorId

public void setOperatorId(java.lang.Integer anOperatorId)

This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number that indicates the operator related to the language specific information.

Parameters:
anOperatorId - The Operator reference number. java.lang.Integer
Returns:
void

setOperatorId

public void setOperatorId(java.lang.String aOperatorId)

This method provides access to the OPERATRDSC.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number that indicates the operator related to the language specific information.

Specified by:
setOperatorId in interface OperatorDescriptionAccessBeanData
Parameters:
astrOperatorId - The Operator reference number. java.lang.String
Returns:
void