public class PolicyDescriptionAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements PolicyDescriptionAccessBeanData
Constructor and Description |
---|
PolicyDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
|
PolicyDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
|
PolicyDescriptionAccessBean(java.lang.Long argPolicyId, java.lang.Integer argLanguageId, java.lang.String argShortDescription)
Constructs an PolicyDescription object with the specified business policy ID, language ID, and the short description.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByPolicy(java.lang.Long policyReferenceNumber)
Retrieves all business policy commands with the specified business policy ID.
|
java.lang.String | getLanguageId()
This method accesses a non-CMP field
|
java.lang.Integer | getLanguageIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getLongDescription()
This method accesses a non-CMP field
|
java.lang.String | getPolicyId()
This method accesses a non-CMP field
|
java.lang.Long | getPolicyIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getShortDescription()
This method accesses a non-CMP field
|
java.lang.String | getTimeCreated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeCreatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeUpdated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeUpdatedInEJBType()
This method accesses a non-CMP field
|
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_policyId(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 | setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setPolicyId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setPolicyId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setShortDescription(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
public PolicyDescriptionAccessBean()
public PolicyDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PolicyDescriptionAccessBean(java.lang.Long argPolicyId, java.lang.Integer argLanguageId, java.lang.String argShortDescription) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an PolicyDescription object with the specified business policy ID, language ID, and the short description.
public java.util.Enumeration findByPolicy(java.lang.Long policyReferenceNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all business policy commands with the specified business policy ID.
The SQL query used to fetch the required rows from the POLICYDESC table is:
select * from policydesc T1 where T1.policy_id = ?
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer newValue)
public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLongDescription(java.lang.String newValue)
public java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getPolicyIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPolicyId(java.lang.String newValue)
public void setPolicyId(java.lang.Long newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getShortDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setShortDescription(java.lang.String newValue)