com.ibm.commerce.common.objects
Class LanguageDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.common.objects.LanguageDescriptionAccessBean
All Implemented Interfaces:
LanguageDescriptionAccessBeanData

public class LanguageDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements LanguageDescriptionAccessBeanData

Each row of this table contains the language-dependent information for a particular language. This access bean corresponds to the database table 'LANGUAGEDS'.

See Also:
Serialized Form

Constructor Summary
LanguageDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
LanguageDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
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 LANGUAGEDS.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
java.lang.String getDescriptionLanguageId()
This method provides access to the LANGUAGEDS.LANGUAGE_ID_DESC column of DB2 type INTEGER NOT NULL.
java.lang.Integer getDescriptionLanguageIdInEJBType()
This method provides access to the LANGUAGEDS.LANGUAGE_ID_DESC column of DB2 type INTEGER NOT NULL.
java.lang.String getLanguageId()
This method provides access to the LANGUAGEDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguageIdInEJBType()
This method provides access to the LANGUAGEDS.LANGUAGE_ID column of DB2 type INTEGER 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 setDescriptionLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setDescriptionLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_descriptionLanguageId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_languageId(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

LanguageDescriptionAccessBean

public LanguageDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.common.objects.LanguageDescription com.ibm.commerce.common.objimpl.LanguageDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.common.objects.LanguageDescriptionKey) 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_descriptionLanguageId( java.lang.Integer )

LanguageDescriptionAccessBean

public LanguageDescriptionAccessBean(javax.ejb.EJBObject o)
                              throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
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_descriptionLanguageId

public void setInitKey_descriptionLanguageId(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 LANGUAGEDS.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The description of the language that is displayed in a graphical user interface, which manages supported languages for a StoreEntity.

Specified by:
getDescription in interface LanguageDescriptionAccessBeanData
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 LanguageDescriptionAccessBeanData

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

The following is a description of this column:

The language ID for the language used for the description. For a list of language components (language ID codes), see the LANGUAGE table.

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

The following is a description of this column:

The language ID for the language used for the description. For a list of language components (language ID codes), 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 LanguageDescriptionAccessBeanData

setLanguageId

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

getDescriptionLanguageId

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

This method provides access to the LANGUAGEDS.LANGUAGE_ID_DESC column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID of the language that is being described.

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

getDescriptionLanguageIdInEJBType

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

This method provides access to the LANGUAGEDS.LANGUAGE_ID_DESC column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language ID of the language that is being described.

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

setDescriptionLanguageId

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

setDescriptionLanguageId

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

Feedback