com.ibm.commerce.contract.objects
Class TermConditionDescriptionAccessBean

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

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

This table stores descriptions for terms and conditions for a contract.

See Also:
Serialized Form

Constructor Summary
TermConditionDescriptionAccessBean()
          constructor
TermConditionDescriptionAccessBean(javax.ejb.EJBObject o)
          constructor
TermConditionDescriptionAccessBean(java.lang.Long arg0, java.lang.Integer arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByTC(java.lang.Long arg0)
          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.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
 java.lang.String getLongDescription()
          This method accesses a non-CMP field
 java.lang.String getShortDescription()
          This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254).
 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.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_languageId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_tcId(java.lang.String newValue)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer newValue)
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String newValue)
          This method provides access to the TCDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the TCDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
 void setLongDescription(java.lang.String newValue)
          This method accesses a non-CMP field
 void setShortDescription(java.lang.String newValue)
          This method provides access to the TCDESC.DESCRIPTION column of DB2 type VARCHAR(254).
 void setTcId(java.lang.Long newValue)
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.String newValue)
          This method provides access to the TCDESC.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTimeCreated(java.lang.String newValue)
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP.
 void setTimeCreated(java.sql.Timestamp newValue)
          This method provides access to the TCDESC.TIMECREATED column of DB2 type TIMESTAMP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermConditionDescriptionAccessBean

public TermConditionDescriptionAccessBean()
constructor

TermConditionDescriptionAccessBean

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

TermConditionDescriptionAccessBean

public TermConditionDescriptionAccessBean(java.lang.Long arg0,
                                          java.lang.Integer arg1)
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail

findByTC

public java.util.Enumeration findByTC(java.lang.Long arg0)
                               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 = ?

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

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_tcId

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

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.

The following is a description of this column:

Time updated.

Specified by:
getLastUpdate in interface TermConditionDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Time updated.

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

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

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

The following is a description of this column:

Time updated.

Specified by:
setLastUpdate in interface TermConditionDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Time updated.

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTcId

public void setTcId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setTcId

public void setTcId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLanguageId

public void setLanguageId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

getLongDescription

public java.lang.String getLongDescription()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getLongDescription in interface TermConditionDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLongDescription

public void setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLongDescription in interface TermConditionDescriptionAccessBeanData

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.

The following is a description of this column:

Time created.

Specified by:
getTimeCreated in interface TermConditionDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Time created.

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

setTimeCreated

public void setTimeCreated(java.lang.String newValue)

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

The following is a description of this column:

Time created.

Specified by:
setTimeCreated in interface TermConditionDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setTimeCreated

public void setTimeCreated(java.sql.Timestamp newValue)

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

The following is a description of this column:

Time created.

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

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).

The following is a description of this column:

A brief description of the term or condition.

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

setShortDescription

public void setShortDescription(java.lang.String newValue)

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

The following is a description of this column:

A brief description of the term or condition.

Specified by:
setShortDescription in interface TermConditionDescriptionAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void