com.ibm.commerce.catalog.objects
Class OperatorDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.OperatorDescriptionAccessBean
All Implemented Interfaces:
OperatorDescriptionAccessBeanData

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

This table holds the language-dependent information related to an operator. This access bean corresponds to the database table 'OPERATRDSC'.

See Also:
Serialized Form

Constructor Summary
OperatorDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
OperatorDescriptionAccessBean(java.lang.Integer aOperatorId, java.lang.Integer aLanguageId)
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
OperatorDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByLanguage(java.lang.Integer argLanguageId)
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).
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_operatorId(java.lang.String newValue)
Set the primary key for this object
void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setOperatorId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setOperatorId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OperatorDescriptionAccessBean

public OperatorDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.OperatorDescription com.ibm.commerce.catalog.objimpl.OperatorDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.OperatorDescriptionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_operatorId( java.lang.Integer ) setInitKey_languageId( java.lang.Integer )

OperatorDescriptionAccessBean

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

OperatorDescriptionAccessBean

public OperatorDescriptionAccessBean(java.lang.Integer aOperatorId,
                                     java.lang.Integer aLanguageId)
                              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:
aOperatorId - The Operator reference number. java.lang.Integer
aLanguageId - 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

findByLanguage

public java.util.Enumeration findByLanguage(java.lang.Integer argLanguageId)
                                     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 = argLanguageId

Parameters:
argLanguageId - 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

setInitKey_operatorId

public void setInitKey_operatorId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_languageId

public void setInitKey_languageId(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

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOperatorId

public void setOperatorId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOperatorId in interface OperatorDescriptionAccessBeanData

setOperatorId

public void setOperatorId(java.lang.Integer newValue)
This method accesses a non-CMP field

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

The following is a description of this column:

The display string for the operator. For example, &quo

Specified by:
getDescription in interface OperatorDescriptionAccessBeanData
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 accesses a non-CMP field
Specified by:
setDescription in interface OperatorDescriptionAccessBeanData

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

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLanguageId

public void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLanguageId in interface OperatorDescriptionAccessBeanData

setLanguageId

public void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field

Feedback