com.ibm.commerce.marketingcenter.objects
Class InitiativeAccessBean

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

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

This table contains the data describing an initiative.

See Also:
Serialized Form

Constructor Summary
InitiativeAccessBean()
          constructor
InitiativeAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.String arg2, java.sql.Timestamp arg3, java.lang.String arg4)
          constructor
InitiativeAccessBean(java.lang.Integer arg0, java.lang.String arg1, java.sql.Timestamp arg2, java.lang.String arg3)
          constructor
InitiativeAccessBean(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 findAllByStoreIdSortedBy(java.lang.Integer arg0, java.lang.String arg1)
          This finder returns all the initiatives 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 initiatives 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 initiatives 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 initiatives in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the initiative.
 java.util.Enumeration findAllByStoreIdSortedByName(java.lang.Integer arg0)
          This finder returns all the initiatives in an enumeration with the given store reference number, sorted by name.
  InitiativeAccessBean findByStoreIdAndName(java.lang.Integer arg0, java.lang.String arg1)
          This finder returns the initiative in a bean with the given store reference number and initiative name.
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
           
 java.lang.String getCampaignId()
          This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.
 java.lang.Integer getCampaignIdInEJBType()
          This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.
 java.lang.String getDescription()
          This method provides access to the INITIATIVE.DESCRIPTION column of DB2 type VARCHAR(254).
 java.lang.String getField1()
          This method provides access to the INITIATIVE.FIELD1 column of DB2 type VARCHAR(254).
 java.lang.String getInitiativeId()
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getInitiativeIdInEJBType()
          This method provides access to the INITIATIVE.INITIATIVE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdateDate()
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateDateInEJBType()
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getLastUpdatedBy()
          This method provides access to the INITIATIVE.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getName()
          This method provides access to the INITIATIVE.NAME column of DB2 type VARCHAR(64) NOT NULL.
 java.lang.Long getOwner()
          This method accesses a non-CMP field
 java.lang.String getResultType()
          This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1).
 java.lang.String getRule()
          This method accesses a non-CMP field
 java.lang.String getSellType()
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.
 java.lang.Integer getSellTypeInEJBType()
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.
 java.lang.String getStatus()
          This method provides access to the INITIATIVE.STATUS column of DB2 type CHAR(1).
 java.lang.String getStoreId()
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getType()
          This method provides access to the INITIATIVE.TYPE column of DB2 type INTEGER.
 java.lang.Integer getTypeInEJBType()
          This method provides access to the INITIATIVE.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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.
 void setCampaignId(java.lang.String newValue)
          This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.
 void setDescription(java.lang.String newValue)
          This method provides access to the INITIATIVE.DESCRIPTION column of DB2 type VARCHAR(254).
 void setField1(java.lang.String newValue)
          This method provides access to the INITIATIVE.FIELD1 column of DB2 type VARCHAR(254).
 void setInitiativeId(java.lang.Integer newValue)
          Set the primary key for this object
 void setInitiativeId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_initiativeId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdateDate(java.lang.String newValue)
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdateDate(java.sql.Timestamp newValue)
          This method provides access to the INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdatedBy(java.lang.String newValue)
          This method provides access to the INITIATIVE.LASTUPDATEDBY column of DB2 type VARCHAR(254) NOT NULL.
 void setName(java.lang.String newValue)
          This method provides access to the INITIATIVE.NAME column of DB2 type VARCHAR(64) NOT NULL.
 void setResultType(java.lang.String newValue)
          This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1).
 void setRule(java.lang.String newValue)
          This method accesses a non-CMP field
 void setSellType(java.lang.Integer newValue)
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.
 void setSellType(java.lang.String newValue)
          This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.
 void setStatus(java.lang.String newValue)
          This method provides access to the INITIATIVE.STATUS column of DB2 type CHAR(1).
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String newValue)
          This method provides access to the INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setType(java.lang.Integer newValue)
          This method provides access to the INITIATIVE.TYPE column of DB2 type INTEGER.
 void setType(java.lang.String newValue)
          This method provides access to the INITIATIVE.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

InitiativeAccessBean

public InitiativeAccessBean()
constructor

InitiativeAccessBean

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

InitiativeAccessBean

public InitiativeAccessBean(java.lang.Integer arg0,
                            java.lang.Integer arg1,
                            java.lang.String 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.Integer
arg2 - java.lang.String
arg3 - java.sql.Timestamp
arg4 - java.lang.String
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

InitiativeAccessBean

public InitiativeAccessBean(java.lang.Integer arg0,
                            java.lang.String 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.Integer
arg1 - java.lang.String
arg2 - java.sql.Timestamp
arg3 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByStoreIdAndName

public InitiativeAccessBean findByStoreIdAndName(java.lang.Integer arg0,
                                                 java.lang.String arg1)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
This finder returns the initiative in a bean with the given store reference number and initiative name.

SQL:

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

Returns:
com.ibm.commerce.marketingcenter.objects.Initiative - the returned initiative
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 initiatives in an enumeration with the given store reference number, sorted by the given column.

SQL:

SELECT * FROM INITIATIVE T1 WHERE (T1.storeent_id = storeId) order by T1.orderBy

Returns:
java.util.Enumeration - all the returned initiatives
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 initiatives in an enumeration with the given store reference number, sorted by description.

SQL:

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

Returns:
java.util.Enumeration - all the returned initiatives
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 initiatives in an enumeration with the given store reference number, sorted by the last updated date.

SQL:

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

Returns:
java.util.Enumeration - all the returned initiatives
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 initiatives in an enumeration with the given store reference number, sorted by the logon of the individual who last updated the initiative.

SQL:

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

Returns:
java.util.Enumeration - all the returned initiatives
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 initiatives in an enumeration with the given store reference number, sorted by name.

SQL:

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

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

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

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

The following is a description of this column:

This field contains the description of the initiative.

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

The following is a description of this column:

This field contains the description of the initiative.

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

getResultType

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

This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1).

The following is a description of this column:

The type of output produced by the initiative:&l

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

setResultType

public void setResultType(java.lang.String newValue)

This method provides access to the INITIATIVE.RESULTTYPE column of DB2 type CHAR(1).

The following is a description of this column:

The type of output produced by the initiative:&l

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 INITIATIVE.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 initiative.

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 INITIATIVE.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 initiative.

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

getRule

public java.lang.String getRule()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRule

public void setRule(java.lang.String newValue)
This method accesses a non-CMP field

getSellType

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

This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.

The following is a description of this column:

Initiative classification:&l

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

getSellTypeInEJBType

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

This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.

The following is a description of this column:

Initiative classification:&l

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

setSellType

public void setSellType(java.lang.String newValue)

This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.

The following is a description of this column:

Initiative classification:&l

Parameters:
newValue - String
Returns:
void

setSellType

public void setSellType(java.lang.Integer newValue)

This method provides access to the INITIATIVE.SELLTYPE column of DB2 type INTEGER.

The following is a description of this column:

Initiative classification:&l

Parameters:
newValue - java.lang.Integer
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 INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains a timestamp of the last update date for the initiative.

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 INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains a timestamp of the last update date for the initiative.

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 INITIATIVE.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

This field contains a timestamp of the last update date for the initiative.

Parameters:
newValue - String
Returns:
void

setLastUpdateDate

public void setLastUpdateDate(java.sql.Timestamp newValue)

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

The following is a description of this column:

This field contains a timestamp of the last update date for the initiative.

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

getInitiativeId

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

This method provides access to the INITIATIVE.INITIATIVE_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

getInitiativeIdInEJBType

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

This method provides access to the INITIATIVE.INITIATIVE_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

setInitiativeId

public void setInitiativeId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - String
Returns:
void

setInitiativeId

public void setInitiativeId(java.lang.Integer newValue)

Set the primary key for this object

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

The following is a description of this column:

Customizable.

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

The following is a description of this column:

The ID of the store to which the initiative 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 INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store to which the initiative 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 INITIATIVE.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store to which the initiative belongs.

Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

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

The following is a description of this column:

The ID of the store to which the initiative 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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.

The following is a description of this column:

The ID of the campaign to which this initiative belongs.

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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.

The following is a description of this column:

The ID of the campaign to which this initiative belongs.

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 INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.

The following is a description of this column:

The ID of the campaign to which this initiative belongs.

Parameters:
newValue - String
Returns:
void

setCampaignId

public void setCampaignId(java.lang.Integer newValue)

This method provides access to the INITIATIVE.CAMPAIGN_ID column of DB2 type INTEGER.

The following is a description of this column:

The ID of the campaign to which this initiative belongs.

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 INITIATIVE.STATUS column of DB2 type CHAR(1).

The following is a description of this column:

Initiative status. Valid values include:&l

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 INITIATIVE.STATUS column of DB2 type CHAR(1).

The following is a description of this column:

Initiative status. Valid values include:&l

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

The following is a description of this column:

This field contains the name of the initiative.

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

The following is a description of this column:

This field contains the name of the initiative.

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