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

com.ibm.commerce.marketingcenter.campaign.objects.CollateralAccessBean
Direct Known Subclasses:
CollateralDataBean

public class CollateralAccessBean

This bean provides access to the COLLATERAL table.

The following is a description of this table:

This table holds the information related to a collateral.


Constructor Summary
CollateralAccessBean()
          Zero argument constructor used to initialize the access bean.
CollateralAccessBean(javax.ejb.EJBObject CollateralEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CollateralAccessBean(java.lang.Integer collateralId, java.lang.String collateralName, java.lang.Integer storeId, java.lang.Integer collateralTypeId)
          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).
protected  java.lang.String defaultJNDIName()
          Obtain the JNDI name for this EJB
 java.util.Enumeration findByStore(java.lang.Integer storeId)
          This finder returns all the collateral in an enumeration with the given store reference number.
 CollateralAccessBean findByStoreAndName(java.lang.Integer storeId, java.lang.String collateralName)
          This finder returns the collateral in an access bean with the given store reference number and the collateral name.
 java.util.Enumeration findByStoreAndType(java.lang.Integer storeId, java.lang.Integer collateralTypeId)
          This finder returns all the collateral in an enumeration with the given store and collateral type reference number.
 java.util.Enumeration findByStoreAndTypeWithOrder(java.lang.Integer storeId, java.lang.Integer collateralTypeId, java.lang.String orderByColumn, java.lang.Integer languageId)
          This finder returns all the collateral in an enumeration with the given store and collateral type reference number, sorted by the given column.
 java.util.Enumeration findByStoreSortedByName(java.lang.Integer storeId)
          This finder returns all the collateral in an enumeration with the given store reference number, sorted by name.
 java.util.Enumeration findByStoreSortedByType(java.lang.Integer storeId)
          This finder returns all the collateral in an enumeration with the given store reference number, sorted by the collateral type.
 java.util.Enumeration findByStoreWithOrder(java.lang.Integer storeId, java.lang.String orderByColumn, java.lang.Integer languageId)
          This finder returns all the collateral in an enumeration with the given store reference number, sorted by the given column.
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
          IBM internal use only.
 java.lang.String getCollateralId()
          This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCollateralIdInEJBType()
          This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCustomerField1()
          This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCustomerField2()
          This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getName()
          This method provides access to the COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 java.lang.String getStoreId()
          This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTypeInEJBType()
          This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getUrlLink()
          This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCollateralId(java.lang.Integer collateralId)
          This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 void setCollateralId(java.lang.String collateralId)
          This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.
 void setCustomerField1(java.lang.String customerField1)
          This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setCustomerField2(java.lang.String customerField2)
          This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL.
 void setInitKey_collateralId(java.lang.String newCollateralId)
          Set the primary key for this object.
 void setName(java.lang.String name)
          This method provides access to the COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL.
 void setStoreId(java.lang.Integer storeId)
          This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String storeId)
          This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.Integer type)
          This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.String type)
          This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.
 void setUrlLink(java.lang.String urlLink)
          This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL.
 

Constructor Detail

CollateralAccessBean

public CollateralAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.marketingcenter.campaign.objects.Collateral com.ibm.commerce.marketingcenter.campaign.objimpl.CollateralHomeBase.findByPrimaryKey(com.ibm.commerce.marketingcenter.campaign.objects.CollateralKey) 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_collateralId( java.lang.Integer )

CollateralAccessBean

public CollateralAccessBean(javax.ejb.EJBObject CollateralEJBObj)
                     throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
CollateralEJBObj - - a Collateral EJBObject reference
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.

CollateralAccessBean

public CollateralAccessBean(java.lang.Integer collateralId,
                            java.lang.String collateralName,
                            java.lang.Integer storeId,
                            java.lang.Integer collateralTypeId)
                     throws javax.ejb.CreateException,
                            java.rmi.RemoteException,
                            javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB.
Parameters:
collateralId - - the internal reference number of the collateral
collateralName - - the name of the collateral
storeId - - the internal reference number of the store
collateralTypeId - - the internal reference number of the collateral type
Throws:
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.naming.NamingException - - Thrown when a naming exception is encountered.
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).
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

defaultJNDIName

protected java.lang.String defaultJNDIName()
Obtain the JNDI name for this EJB
Returns:
java.lang.String - the JNDI name for this EJB

findByStore

public java.util.Enumeration findByStore(java.lang.Integer storeId)
                                  throws java.rmi.RemoteException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store reference number.

SQL:

SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId)

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreAndName

public CollateralAccessBean findByStoreAndName(java.lang.Integer storeId,
                                               java.lang.String collateralName)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
This finder returns the collateral in an access bean with the given store reference number and the collateral name.

SQL:

SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId AND T1.NAME = collateralName)

Parameters:
storeId - - the reference number of the store
collateralName - - the name of the collateral
Returns:
com.ibm.commerce.marketingcenter.campaign.objects.CollateralAccessBean - the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreAndType

public java.util.Enumeration findByStoreAndType(java.lang.Integer storeId,
                                                java.lang.Integer collateralTypeId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store and collateral type reference number.

SQL:

SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId AND T1.TYPE = collateralTypeId)

Parameters:
storeId - - the internal reference number of the store
collateralTypeId - - the internal reference number of the collateral type
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreAndTypeWithOrder

public java.util.Enumeration findByStoreAndTypeWithOrder(java.lang.Integer storeId,
                                                         java.lang.Integer collateralTypeId,
                                                         java.lang.String orderByColumn,
                                                         java.lang.Integer languageId)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store and collateral type reference number, sorted by the given column.

SQL:

SELECT * FROM COLLATERAL T1, COLLDESC T2 WHERE T1.STOREENT_ID = storeId AND T1.COLLTYPE_ID = collateralTypeId AND T2.LANGUAGE_ID = languageId AND T2.COLLATERAL_ID = T1.COLLATERAL_ID ORDER BY orderByColumn

Parameters:
storeId - - the internal reference number of the store
collateralTypeId - - the internal reference number of the collateral type
orderByColumn - - the name of the column that will be sorted
languageId - - the internal reference number of the language
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreSortedByName

public java.util.Enumeration findByStoreSortedByName(java.lang.Integer storeId)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store reference number, sorted by name.

SQL:

SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId) order by T1.NAME

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreSortedByType

public java.util.Enumeration findByStoreSortedByType(java.lang.Integer storeId)
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store reference number, sorted by the collateral type.

SQL:

SELECT * FROM COLLATERAL T1 WHERE (T1.STOREENT_ID = storeId) order by T1.COLLTYPE_ID

Parameters:
storeId - - the internal reference number of the store
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

findByStoreWithOrder

public java.util.Enumeration findByStoreWithOrder(java.lang.Integer storeId,
                                                  java.lang.String orderByColumn,
                                                  java.lang.Integer languageId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
This finder returns all the collateral in an enumeration with the given store reference number, sorted by the given column.

SQL:

SELECT * FROM COLLATERAL T1, COLLDESC T2 WHERE T1.STOREENT_ID = storeId AND T2.LANGUAGE_ID = languageId AND T2.COLLATERAL_ID = T1.COLLATERAL_ID ORDER BY orderByColumn

Parameters:
storeId - - the internal reference number of the store
orderByColumn - - the name of the column that will be sorted
languageId - - the internal reference number of the language
Returns:
java.util.Enumeration - all the returned collateral
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 - - Thrown when a naming exception is encountered.

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
IBM internal use only.
Parameters:
arg0 - - java.lang.Long
arg1 - - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - - The java.rmi.RemoteException exception
java.lang.Exception - - The java.lang.Exception exception
javax.ejb.FinderException - - The javax.ejb.FinderException exception
javax.naming.NamingException - - The javax.naming.NamingException exception

getCollateralId

public java.lang.String getCollateralId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getCollateralIdInEJBType

public java.lang.Integer getCollateralIdInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getCustomerField1

public java.lang.String getCustomerField1()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 1 of this collateral.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getCustomerField2

public java.lang.String getCustomerField2()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 2 of this collateral.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

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 COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The name of this collateral.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
IBM internal use only.
Returns:
java.lang.Long
Throws:
java.lang.Exception - - The java.lang.Exception exception
java.rmi.RemoteException - - The java.rmi.RemoteException exception
javax.ejb.FinderException - - The javax.ejb.FinderException exception
javax.naming.NamingException - - The javax.naming.NamingException exception

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getTypeInEJBType

public java.lang.Integer getTypeInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

getUrlLink

public java.lang.String getUrlLink()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The URL which will be referenced on click action of this collateral.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             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.
Throws:
java.rmi.RemoteException - - Thrown when the remote method is failed to invoke.
javax.ejb.CreateException - - Thrown when the creation of the EJB object failed.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException - - Thrown when a naming exception is encountered.

setCollateralId

public void setCollateralId(java.lang.Integer collateralId)
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral.

Parameters:
java.lang.Integer -  

setCollateralId

public void setCollateralId(java.lang.String collateralId)
This method provides access to the COLLATERAL.COLLATERAL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of this collateral.

Parameters:
java.lang.String -  

setCustomerField1

public void setCustomerField1(java.lang.String customerField1)
This method provides access to the COLLATERAL.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 1 of this collateral.

Parameters:
java.lang.String -  

setCustomerField2

public void setCustomerField2(java.lang.String customerField2)
This method provides access to the COLLATERAL.FIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The customizable field 2 of this collateral.

Parameters:
java.lang.String -  

setInitKey_collateralId

public void setInitKey_collateralId(java.lang.String newCollateralId)
Set the primary key for this object.
Parameters:
newCollateralId - - the reference number of the collateral

setName

public void setName(java.lang.String name)
This method provides access to the COLLATERAL.NAME column of DB2 type VARCHAR(30) NULL.

The following is a description of this column:

The name of this collateral.

Parameters:
java.lang.String -  

setStoreId

public void setStoreId(java.lang.Integer storeId)
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.

Parameters:
java.lang.Integer -  

setStoreId

public void setStoreId(java.lang.String storeId)
This method provides access to the COLLATERAL.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the store in which this collateral belongs to. This field is a foreign key to the STOREENT table.

Parameters:
java.lang.String -  

setType

public void setType(java.lang.Integer type)
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.

Parameters:
java.lang.Integer -  

setType

public void setType(java.lang.String type)
This method provides access to the COLLATERAL.COLLTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The internal reference number of the type in which this collateral belongs to. This field is a foreign key to the COLLTYPE table.

Parameters:
java.lang.String -  

setUrlLink

public void setUrlLink(java.lang.String urlLink)
This method provides access to the COLLATERAL.URL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The URL which will be referenced on click action of this collateral.

Parameters:
java.lang.String -