com.ibm.commerce.me.objects
Class ProcurementSystemAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.me.objects.ProcurementSystemAccessBean
All Implemented Interfaces:
ProcurementSystemAccessBeanData, java.io.Serializable

public class ProcurementSystemAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ProcurementSystemAccessBeanData

This bean provides access to the PROCSYS table.

The following is a description of this table:

Each row of this table represents a Procurement System. Examples of Procurement systems are Ariba, Oracle, CommerceOne, and so on.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ProcurementSystemAccessBean()
          Default constructor.
ProcurementSystemAccessBean(javax.ejb.EJBObject object)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
ProcurementSystemAccessBean(java.lang.String aProcurementSystemName)
          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.lang.String getField1()
          This method provides access to the PROCSYS.FIELD1 column of DB2 type VARCHAR(64) NULL.
 java.lang.String getField2()
          This method provides access to the PROCSYS.FIELD2 column of DB2 type VARCHAR(64) NULL.
 java.lang.String getProcurementSystemName()
          This method provides access to the PROCSYS.PROCSYSNAME column of DB2 type CHAR(16) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setField1(java.lang.String aField1)
          This method provides access to the PROCSYS.FIELD1 column of DB2 type VARCHAR(64) NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the PROCSYS.FIELD2 column of DB2 type VARCHAR(64) NULL.
 void setInitKey_procurementSystemName(java.lang.String aInitKey_procurementSystemName)
          Set the primary key for this object
 void setProcurementSystemName(java.lang.String aProcurementSystemName)
          This method provides access to the PROCSYS.PROCSYSNAME column of DB2 type CHAR(16) 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

ProcurementSystemAccessBean

public ProcurementSystemAccessBean()

Default constructor.


ProcurementSystemAccessBean

public ProcurementSystemAccessBean(javax.ejb.EJBObject object)
                            throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

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

ProcurementSystemAccessBean

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

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aProcurementSystemName - java.lang.String
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

getField1

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

This method provides access to the PROCSYS.FIELD1 column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface ProcurementSystemAccessBeanData
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

getField2

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

This method provides access to the PROCSYS.FIELD2 column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface ProcurementSystemAccessBeanData
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

getProcurementSystemName

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

This method provides access to the PROCSYS.PROCSYSNAME column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

Name of the procurement system. This is the primary key.

Specified by:
getProcurementSystemName in interface ProcurementSystemAccessBeanData
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

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

setField1

public void setField1(java.lang.String aField1)

This method provides access to the PROCSYS.FIELD1 column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface ProcurementSystemAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setField2

public void setField2(java.lang.String aField2)

This method provides access to the PROCSYS.FIELD2 column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface ProcurementSystemAccessBeanData
Parameters:
aField2 - java.lang.String
Returns:
void

setInitKey_procurementSystemName

public void setInitKey_procurementSystemName(java.lang.String aInitKey_procurementSystemName)

Set the primary key for this object

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

setProcurementSystemName

public void setProcurementSystemName(java.lang.String aProcurementSystemName)

This method provides access to the PROCSYS.PROCSYSNAME column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

Name of the procurement system. This is the primary key.

Specified by:
setProcurementSystemName in interface ProcurementSystemAccessBeanData
Parameters:
aProcurementSystemName - java.lang.String
Returns:
void