com.ibm.commerce.order.objects
Class OfferDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.order.objects.OfferDescriptionAccessBean
All Implemented Interfaces:
OfferDescriptionAccessBeanData
Direct Known Subclasses:
OfferDescriptionDataBeanBase

public class OfferDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OfferDescriptionAccessBeanData

Each row in this table contains language-dependent information for an Offer. This access bean corresponds to the database table 'OFFERDESC'.

See Also:
Serialized Form

Constructor Summary
OfferDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
OfferDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId)
Creates an access bean with the specified attributes.
OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId, java.lang.String aDescription)
Creates an access bean with the specified attributes.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getDescription()
This method provides access to the OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254).
java.lang.String getLanguageId()
This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguageIdInEJBType()
This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getOfferId()
This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOfferIdInEJBType()
This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_offerId(java.lang.String newValue)
Set the primary key for this object
void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setOfferId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOfferId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OfferDescriptionAccessBean

public OfferDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.order.objects.OfferDescription com.ibm.commerce.order.objimpl.OfferDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.order.objects.OfferDescriptionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_languageId( java.lang.Integer ) setInitKey_offerId( java.lang.Long )

OfferDescriptionAccessBean

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

OfferDescriptionAccessBean

public OfferDescriptionAccessBean(java.lang.Long aOfferId,
                                  java.lang.Integer aLanguageId)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aOfferId - The offer id.
aLanguageId - The language id.

OfferDescriptionAccessBean

public OfferDescriptionAccessBean(java.lang.Long aOfferId,
                                  java.lang.Integer aLanguageId,
                                  java.lang.String aDescription)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
aOfferId - The offer id.
aLanguageId - The language id.
aDescription - The aDescription.
Method Detail

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_offerId

public void setInitKey_offerId(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 OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

A description of the Offer, suitable for display to customers.

Specified by:
getDescription in interface OfferDescriptionAccessBeanData
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 accesses a non-CMP field
Specified by:
setDescription in interface OfferDescriptionAccessBeanData

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

The following is a description of this column:

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

Specified by:
getLanguageId in interface OfferDescriptionAccessBeanData
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 OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the description. 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 accesses a non-CMP field
Specified by:
setLanguageId in interface OfferDescriptionAccessBeanData

setLanguageId

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

getOfferId

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

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

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

getOfferIdInEJBType

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

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

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

setOfferId

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

setOfferId

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

Feedback