com.ibm.commerce.marketingcenter.objects
Class CampaignAccessBean

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

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

This table contains the meta-information for a campaign. This table is used by the Marketing subsystem.

See Also:
Serialized Form

Constructor Summary
CampaignAccessBean()
          constructor
CampaignAccessBean(java.lang.Integer arg0, java.lang.String arg1, java.lang.Integer arg2, java.sql.Timestamp arg3, java.lang.String arg4)
          constructor
CampaignAccessBean(javax.ejb.EJBObject o)
          constructor
CampaignAccessBean(java.lang.String arg0, java.lang.Integer arg1, java.sql.Timestamp arg2, java.lang.String arg3)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findAllByStoreIdAndCampaignName(java.lang.Integer arg0, java.lang.String arg1)
          This finder returns all the campaigns in an enumeration with the given store reference number and the campaign name.
 java.util.Enumeration findAllByStoreIdSortedBy(java.lang.Integer arg0, java.lang.String arg1)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the given column.
 java.util.Enumeration findAllByStoreIdSortedByDescription(java.lang.Integer arg0)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by description.
 java.util.Enumeration findAllByStoreIdSortedByLastUpdate(java.lang.Integer arg0)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the last updated date.
 java.util.Enumeration findAllByStoreIdSortedByLastUpdatedBy(java.lang.Integer arg0)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the campaign.
 java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer arg0)
          This finder returns all the campaigns in an enumeration with the given store reference number, sorted by name.
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
           
 java.lang.String getCampaignId()
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCampaignIdInEJBType()
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getCampaignOwner()
          This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64).
 java.lang.String getDescription()
          This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254).
 java.lang.String getField1()
          This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254).
 java.lang.String getLastUpdateDate()
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateDateInEJBType()
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getLastUpdatedBy()
          This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getName()
          This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.String getObjective()
          This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254).
 java.lang.Long getOwner()
          This method accesses a non-CMP field
 java.lang.String getStatus()
          This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1).
 java.lang.String getStoreId()
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.
 java.lang.Integer getTypeInEJBType()
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCampaignId(java.lang.Integer newValue)
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 void setCampaignId(java.lang.String newValue)
          This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.
 void setCampaignOwner(java.lang.String newValue)
          This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64).
 void setDescription(java.lang.String newValue)
          This method provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254).
 void setField1(java.lang.String newValue)
          This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254).
 void setInitKey_campaignId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdateDate(java.lang.String newValue)
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdateDate(java.sql.Timestamp newValue)
          This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdatedBy(java.lang.String newValue)
          This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 void setName(java.lang.String newValue)
          This method provides access to the CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.
 void setObjective(java.lang.String newValue)
          This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254).
 void setStatus(java.lang.String newValue)
          This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1).
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String newValue)
          This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.Integer newValue)
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.
 void setType(java.lang.String newValue)
          This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CampaignAccessBean

public CampaignAccessBean()
constructor

CampaignAccessBean

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

CampaignAccessBean

public CampaignAccessBean(java.lang.Integer arg0,
                          java.lang.String arg1,
                          java.lang.Integer arg2,
                          java.sql.Timestamp arg3,
                          java.lang.String arg4)
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException,
                          javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.String
arg2 - java.lang.Integer
arg3 - java.sql.Timestamp
arg4 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

CampaignAccessBean

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

findAllByStoreIdAndCampaignName

public java.util.Enumeration findAllByStoreIdAndCampaignName(java.lang.Integer arg0,
                                                             java.lang.String arg1)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number and the campaign name.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId and T1.name = campaignName )

Returns:
java.util.Enumeration - all the returned campaigns
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

findAllByStoreIdSortedBy

public java.util.Enumeration findAllByStoreIdSortedBy(java.lang.Integer arg0,
                                                      java.lang.String arg1)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the given column.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.column

Returns:
java.util.Enumeration - all the returned campaigns
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

findAllByStoreIdSortedByDescription

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

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.description

Returns:
java.util.Enumeration - all the returned campaigns
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

findAllByStoreIdSortedByLastUpdate

public java.util.Enumeration findAllByStoreIdSortedByLastUpdate(java.lang.Integer arg0)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the last updated date.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdate

Returns:
java.util.Enumeration - all the returned campaigns
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

findAllByStoreIdSortedByLastUpdatedBy

public java.util.Enumeration findAllByStoreIdSortedByLastUpdatedBy(java.lang.Integer arg0)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException
This finder returns all the campaigns in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the campaign.

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.lastupdatedby

Returns:
java.util.Enumeration - all the returned campaigns
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

findAllByStoreIdSortedByName

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

SQL:

SELECT * FROM CAMPAIGN T1 WHERE ( T1.storeent_id = storeId ) order by T1.name

Returns:
java.util.Enumeration - all the returned campaigns
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_campaignId

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

getCampaignOwner

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

This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64).

The following is a description of this column:

This field contains the name of the owner of the campaign.

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

setCampaignOwner

public void setCampaignOwner(java.lang.String newValue)

This method provides access to the CAMPAIGN.OWNER column of DB2 type VARCHAR(64).

The following is a description of this column:

This field contains the name of the owner of the campaign.

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

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

The following is a description of this column:

This field provides a description of the campaign.

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 provides access to the CAMPAIGN.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

This field provides a description of the campaign.

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

getLastUpdatedBy

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

This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

This field contains the logon ID of the individual who last updated the campaign.

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

setLastUpdatedBy

public void setLastUpdatedBy(java.lang.String newValue)

This method provides access to the CAMPAIGN.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

This field contains the logon ID of the individual who last updated the campaign.

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

getLastUpdateDate

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

This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains the timestamp for the last updates made to the campaign.

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

getLastUpdateDateInEJBType

public java.sql.Timestamp getLastUpdateDateInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains the timestamp for the last updates made to the campaign.

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

setLastUpdateDate

public void setLastUpdateDate(java.lang.String newValue)

This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains the timestamp for the last updates made to the campaign.

Parameters:
newValue - String
Returns:
void

setLastUpdateDate

public void setLastUpdateDate(java.sql.Timestamp newValue)

This method provides access to the CAMPAIGN.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains the timestamp for the last updates made to the campaign.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

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

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String newValue)

This method provides access to the CAMPAIGN.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

getObjective

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

This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254).

The following is a description of this column:

This field contains the objectives and goals that the campaign intend to reach.

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

setObjective

public void setObjective(java.lang.String newValue)

This method provides access to the CAMPAIGN.OBJECTIVE column of DB2 type VARCHAR(254).

The following is a description of this column:

This field contains the objectives and goals that the campaign intend to reach.

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

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

The following is a description of this column:

This field contains the store ID to which the campaign belongs.

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

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

The following is a description of this column:

This field contains the store ID to which the campaign belongs.

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

setStoreId

public void setStoreId(java.lang.String newValue)

This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This field contains the store ID to which the campaign belongs.

Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

This method provides access to the CAMPAIGN.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This field contains the store ID to which the campaign belongs.

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

getCampaignId

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

This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key.

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

getCampaignIdInEJBType

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

This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key.

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

setCampaignId

public void setCampaignId(java.lang.String newValue)

This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key.

Parameters:
newValue - String
Returns:
void

setCampaignId

public void setCampaignId(java.lang.Integer newValue)

This method provides access to the CAMPAIGN.CAMPAIGN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key.

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

getStatus

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

This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1).

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

setStatus

public void setStatus(java.lang.String newValue)

This method provides access to the CAMPAIGN.STATUS column of DB2 type CHAR(1).

The following is a description of this column:

Reserved for IBM internal use.

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

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 CAMPAIGN.TYPE column of DB2 type INTEGER.

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

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 CAMPAIGN.TYPE column of DB2 type INTEGER.

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

setType

public void setType(java.lang.String newValue)

This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
newValue - String
Returns:
void

setType

public void setType(java.lang.Integer newValue)

This method provides access to the CAMPAIGN.TYPE column of DB2 type INTEGER.

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 CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

This field contains the name of the campaign.

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 CAMPAIGN.NAME column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

This field contains the name of the campaign.

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

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
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException