com.ibm.commerce.catalog.objects
Class OperatorAccessBean

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

public class OperatorAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OperatorAccessBeanData

This table is used to define operators.

See Also:
Serialized Form

Constructor Summary
OperatorAccessBean()
          constructor
OperatorAccessBean(java.lang.Integer arg0, java.lang.String arg1)
          constructor
OperatorAccessBean(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 findAll()
          This method returns an enumeration of all the Operator Access Bean.
 java.util.Enumeration findByOperator(java.lang.String arg0)
          This method returns an enumeration of the Operator Access Bean with the specified Operator.
 java.lang.String getOperator()
          This method provides access to the OPERATOR.OPERATOR column of DB2 type CHAR(32) NOT NULL.
 java.lang.String getOperatorId()
          This method provides access to the OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getOperatorIdInEJBType()
          This method provides access to the OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getOperatorType()
          This method provides access to the OPERATOR.OPERATORTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT '1'.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_operatorId(java.lang.String newValue)
          Set the primary key for this object
 void setOperator(java.lang.String newValue)
          This method provides access to the OPERATOR.OPERATOR column of DB2 type CHAR(32) NOT NULL.
 void setOperatorId(java.lang.Integer newValue)
          This method provides access to the OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 void setOperatorId(java.lang.String newValue)
          This method provides access to the OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.
 void setOperatorType(java.lang.String newValue)
          This method provides access to the OPERATOR.OPERATORTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT '1'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorAccessBean

public OperatorAccessBean()
constructor

OperatorAccessBean

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

OperatorAccessBean

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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method returns an enumeration of all the Operator Access Bean.

SQL: SELECT * FROM OPERATOR

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

findByOperator

public java.util.Enumeration findByOperator(java.lang.String arg0)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method returns an enumeration of the Operator Access Bean with the specified Operator.

SQL:
SELECT * FROM OPERATOR WHERE OPERATOR.OPERATOR = argOperator

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

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 OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Unique table index. This is the primary key.

Specified by:
getOperatorId in interface OperatorAccessBeanData
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 OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Unique table index. This is the primary key.

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 provides access to the OPERATOR.OPERATOR_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Unique table index. This is the primary key.

Specified by:
setOperatorId in interface OperatorAccessBeanData
Parameters:
newValue - String
Returns:
void

setOperatorId

public void setOperatorId(java.lang.Integer newValue)

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

The following is a description of this column:

Unique table index. This is the primary key.

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

getOperator

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

This method provides access to the OPERATOR.OPERATOR column of DB2 type CHAR(32) NOT NULL.

The following is a description of this column:

The operator. For example, &quo

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

setOperator

public void setOperator(java.lang.String newValue)

This method provides access to the OPERATOR.OPERATOR column of DB2 type CHAR(32) NOT NULL.

The following is a description of this column:

The operator. For example, &quo

Specified by:
setOperator in interface OperatorAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getOperatorType

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

This method provides access to the OPERATOR.OPERATORTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT '1'.

The following is a description of this column:

The operator type:

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

setOperatorType

public void setOperatorType(java.lang.String newValue)

This method provides access to the OPERATOR.OPERATORTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT '1'.

The following is a description of this column:

The operator type:

Specified by:
setOperatorType in interface OperatorAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void