com.ibm.commerce.contract.objects
Class TermConditionDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.contract.objects.TermConditionDescriptionAccessBean
All Implemented Interfaces:
java.io.Serializable, TermConditionDescriptionAccessBeanData

public class TermConditionDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TermConditionDescriptionAccessBeanData

This bean provides access to the TCDESC table.

The following is a description of this table:

The terms and conditions description table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
TermConditionDescriptionAccessBean()
          Default constructor.
TermConditionDescriptionAccessBean(javax.ejb.EJBObject anObject)
          Creates an access bean for the specified EJB
TermConditionDescriptionAccessBean(java.lang.Long tcId, java.lang.Integer langId)
          Constructs an TermConditionDescriptionAccessBean object with the specified term condition ID, and language ID .
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByTC(java.lang.Long tcId)
          Retrieves an Enumeration of TermConditionDescriptionAccessBean representing all term condition descriptions with the specified term condition ID.
 java.lang.String getLanguageId()
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getLongDescription()
          This method provides access to the TCDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
 java.lang.String getShortDescription()
          This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getTcId()
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTcIdInEJBType()
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getTimeCreated()
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_tcId(java.lang.String aInitKey_tcId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastUpdate(java.lang.String aLastUpdate)
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setLongDescription(java.lang.String aLongDescription)
          This method provides access to the TCDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
 void setShortDescription(java.lang.String aShortDescription)
          This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setTcId(java.lang.Long aTcId)
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.String aTcId)
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTimeCreated(java.lang.String aTimeCreated)
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionDescriptionAccessBean

public TermConditionDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


TermConditionDescriptionAccessBean

public TermConditionDescriptionAccessBean(javax.ejb.EJBObject anObject)
                                   throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
anObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

TermConditionDescriptionAccessBean

public TermConditionDescriptionAccessBean(java.lang.Long tcId,
                                          java.lang.Integer langId)
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.naming.NamingException

Constructs an TermConditionDescriptionAccessBean object with the specified term condition ID, and language ID .

Parameters:
tcId - java.lang.Long
langId - java.lang.Integer
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTC

public java.util.Enumeration findByTC(java.lang.Long tcId)
                               throws java.rmi.RemoteException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

Retrieves an Enumeration of TermConditionDescriptionAccessBean representing all term condition descriptions with the specified term condition ID.

The SQL query used to fetch the required rows from the TCDESC table is:

select * from tcdesc T1 where T1.termcond_id = ?

Parameters:
tcId - The terms and conditions ID.
Returns:
An Enumeration of all the TermConditionDescriptionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageId

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

This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface TermConditionDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageIdInEJBType

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

This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID. For a list of language components, see the LANGUAGE table.

Returns:
The language ID.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastUpdate

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

This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Specified by:
getLastUpdate in interface TermConditionDescriptionAccessBeanData
Returns:
The time the terms and condition description was most recently updated.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastUpdateInEJBType

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

This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Returns:
The time the terms and condition description was most recently updated.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLongDescription

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

This method provides access to the TCDESC.LONGDESCRIPTION column of DB2 type LONG NULL.

The following is a description of this column:

A detailed description of the term or condition.

Specified by:
getLongDescription in interface TermConditionDescriptionAccessBeanData
Returns:
The long description of the terms and conditions.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getShortDescription

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

This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the term or condition.

Specified by:
getShortDescription in interface TermConditionDescriptionAccessBeanData
Returns:
The short description of the term or condition.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTcId

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

This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

A unique identifier for the term or condition.

Specified by:
getTcId in interface TermConditionDescriptionAccessBeanData
Returns:
The terms and conditions ID.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTcIdInEJBType

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

This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

A unique identifier for the term or condition.

Returns:
The terms and conditions ID.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreated

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

This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Specified by:
getTimeCreated in interface TermConditionDescriptionAccessBeanData
Returns:
The time the terms and conditions description was created.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreatedInEJBType

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

This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Returns:
The time the terms and conditions description was created.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

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

setInitKey_tcId

public void setInitKey_tcId(java.lang.String aInitKey_tcId)

Set the primary key for this object

Parameters:
aInitKey_tcId - The terms and conditions ID.
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID. For a list of language components, see the LANGUAGE table.

Parameters:
aLanguageId - The language ID.
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID. For a list of language components, see the LANGUAGE table.

Specified by:
setLanguageId in interface TermConditionDescriptionAccessBeanData
Parameters:
aLanguageId - The language ID.
Returns:
void

setLastUpdate

public void setLastUpdate(java.lang.String aLastUpdate)

This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Specified by:
setLastUpdate in interface TermConditionDescriptionAccessBeanData
Parameters:
aLastUpdate - The time the terms and condition description was most recently updated.
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time updated.

Parameters:
aLastUpdate - The time the terms and condition description was most recently updated.
Returns:
void

setLongDescription

public void setLongDescription(java.lang.String aLongDescription)

This method provides access to the TCDESC.LONGDESCRIPTION column of DB2 type LONG NULL.

The following is a description of this column:

A detailed description of the term or condition.

Specified by:
setLongDescription in interface TermConditionDescriptionAccessBeanData
Parameters:
aLongDescription - The long description of the terms and conditions.
Returns:
void

setShortDescription

public void setShortDescription(java.lang.String aShortDescription)

This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the term or condition.

Specified by:
setShortDescription in interface TermConditionDescriptionAccessBeanData
Parameters:
aShortDescription - The short description of the term or condition.
Returns:
void

setTcId

public void setTcId(java.lang.Long aTcId)

This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

A unique identifier for the term or condition.

Parameters:
aTcId - A unique identifier for the term or condition.
Returns:
void

setTcId

public void setTcId(java.lang.String aTcId)

This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

A unique identifier for the term or condition.

Specified by:
setTcId in interface TermConditionDescriptionAccessBeanData
Parameters:
aTcId - The terms and condition ID.
Returns:
void

setTimeCreated

public void setTimeCreated(java.lang.String aTimeCreated)

This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Specified by:
setTimeCreated in interface TermConditionDescriptionAccessBeanData
Parameters:
aTimeCreated - The time the terms and conditions description was created.
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time created.

Parameters:
aTimeCreated - The time the terms and conditions description was created.
Returns:
void