com.ibm.commerce.marketingcenter.campaign.objects
Class CollateralTypeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.marketingcenter.campaign.objects.CollateralTypeAccessBean

public class CollateralTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

Reserved for IBM internal use.

See Also:
Serialized Form

Constructor Summary
CollateralTypeAccessBean()
          constructor
CollateralTypeAccessBean(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 finder returns all the collateral types in an enumeration.
 java.util.Enumeration findAllSortedByName()
          This finder returns all the collateral types in an enumeration, sorted by name.
 java.lang.String getCollateralTypeId()
          This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCollateralTypeIdInEJBType()
          This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getName()
          This method provides access to the COLLTYPE.NAME column of DB2 type VARCHAR(254).
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCollateralTypeId(java.lang.Integer newValue)
          This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setCollateralTypeId(java.lang.String newValue)
          This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setInitKey_collateralTypeId(java.lang.String newValue)
          Set the primary key for this object
 void setName(java.lang.String newValue)
          This method provides access to the COLLTYPE.NAME column of DB2 type VARCHAR(254).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollateralTypeAccessBean

public CollateralTypeAccessBean()
constructor

CollateralTypeAccessBean

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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This finder returns all the collateral types in an enumeration.

SQL:

SELECT * FROM COLLTYPE T1 WHERE 1 = 1

Returns:
java.util.Enumeration - all the returned collateral types
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findAllSortedByName

public java.util.Enumeration findAllSortedByName()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
This finder returns all the collateral types in an enumeration, sorted by name.

SQL:

SELECT * FROM COLLTYPE T1 ORDER BY T1.NAME

Returns:
java.util.Enumeration - all the returned collateral types
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

setInitKey_collateralTypeId

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

getCollateralTypeId

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

This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

getCollateralTypeIdInEJBType

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

This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setCollateralTypeId

public void setCollateralTypeId(java.lang.String newValue)

This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
newValue - String
Returns:
void

setCollateralTypeId

public void setCollateralTypeId(java.lang.Integer newValue)

This method provides access to the COLLTYPE.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
newValue - java.lang.Integer
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 COLLTYPE.NAME column of DB2 type VARCHAR(254).

The following is a description of this column:

Reserved for IBM internal use.

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 COLLTYPE.NAME column of DB2 type VARCHAR(254).

The following is a description of this column:

Reserved for IBM internal use.

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