com.ibm.commerce.user.objects
Class PolicyAccountDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.PolicyAccountDescriptionAccessBean
All Implemented Interfaces:
PolicyAccountDescriptionAccessBeanData, java.io.Serializable

public class PolicyAccountDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PolicyAccountDescriptionAccessBeanData

This bean provides access to the PLCYACCDSC table.

The following is a description of this table:

This table holds language dependent information related to an Account Policy.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PolicyAccountDescriptionAccessBean()
          Default constructor.
PolicyAccountDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
PolicyAccountDescriptionAccessBean(java.lang.Integer aLanguageId, java.lang.Integer aPolicyAccountId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getDescription()
          Description of policy account.
 java.lang.String getLanguageId()
          This method provides access to the PLCYACCDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the PLCYACCDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getPolicyAccountId()
          This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getPolicyAccountIdInEJBType()
          This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          Set the description of the policy account.
 void setInitKey_iLanguageId(java.lang.String aInitKey_iLanguageId)
          Set the primary key for this object
 void setInitKey_iPolicyAccountId(java.lang.String aInitKey_iPolicyAccountId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the PLCYACCDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the PLCYACCDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setPolicyAccountId(java.lang.Integer aPolicyAccountId)
          This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.
 void setPolicyAccountId(java.lang.String aPolicyAccountId)
          This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT 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

PolicyAccountDescriptionAccessBean

public PolicyAccountDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


PolicyAccountDescriptionAccessBean

public PolicyAccountDescriptionAccessBean(javax.ejb.EJBObject object)
                                   throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

PolicyAccountDescriptionAccessBean

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

Maps to a corresponding ejbCreate method in the home interface of the EJB

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

getDescription

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

Description of policy account.

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

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

The following is a description of this column:

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

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

The following is a description of this column:

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

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

getPolicyAccountId

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

This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the Account Policy, foreign key to the PLCYACCT table.

Specified by:
getPolicyAccountId in interface PolicyAccountDescriptionAccessBeanData
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

getPolicyAccountIdInEJBType

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

This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the Account Policy, foreign key to the PLCYACCT table.

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

setDescription

public void setDescription(java.lang.String aDescription)

Set the description of the policy account.

Specified by:
setDescription in interface PolicyAccountDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_iLanguageId

public void setInitKey_iLanguageId(java.lang.String aInitKey_iLanguageId)

Set the primary key for this object

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

setInitKey_iPolicyAccountId

public void setInitKey_iPolicyAccountId(java.lang.String aInitKey_iPolicyAccountId)

Set the primary key for this object

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

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

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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

The following is a description of this column:

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

Specified by:
setLanguageId in interface PolicyAccountDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setPolicyAccountId

public void setPolicyAccountId(java.lang.Integer aPolicyAccountId)

This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the Account Policy, foreign key to the PLCYACCT table.

Parameters:
aPolicyAccountId - java.lang.Integer
Returns:
void

setPolicyAccountId

public void setPolicyAccountId(java.lang.String aPolicyAccountId)

This method provides access to the PLCYACCDSC.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the Account Policy, foreign key to the PLCYACCT table.

Specified by:
setPolicyAccountId in interface PolicyAccountDescriptionAccessBeanData
Parameters:
aPolicyAccountId - java.lang.String
Returns:
void