java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.PolicyDescriptionAccessBean
This table stores descriptions for a business policy.
Constructor Summary | |
---|---|
PolicyDescriptionAccessBean() constructor | |
PolicyDescriptionAccessBean(javax.ejb.EJBObject o) constructor | |
PolicyDescriptionAccessBean(java.lang.Long arg0,
java.lang.Integer arg1, java.lang.String arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByPolicy(java.lang.Long arg0) Retrieves all business policy commands with the specified business policy ID. |
java.lang.String |
getLanguageId() This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType() This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLongDescription() This method accesses a non-CMP field |
java.lang.String |
getPolicyId() This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getPolicyIdInEJBType() This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getShortDescription() This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(508) NOT NULL. |
java.lang.String |
getTimeCreated() This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getTimeCreatedInEJBType() This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP. |
java.lang.String |
getTimeUpdated() This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getTimeUpdatedInEJBType() This method provides access to the POLICYDESC.TIMEUPDATED 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_policyId(java.lang.String newValue) Set the primary key for this object |
void |
setLanguageId(java.lang.Integer newValue) This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguageId(java.lang.String newValue) This method provides access to the POLICYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLongDescription(java.lang.String newValue) This method accesses a non-CMP field |
void |
setPolicyId(java.lang.Long newValue) This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setPolicyId(java.lang.String newValue) This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL. |
void |
setShortDescription(java.lang.String newValue) This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(508) NOT NULL. |
void |
setTimeCreated(java.lang.String newValue) This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeCreated(java.sql.Timestamp newValue) This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.lang.String newValue) This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.sql.Timestamp newValue) This method provides access to the POLICYDESC.TIMEUPDATED 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 |
---|
public PolicyDescriptionAccessBean()
public PolicyDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PolicyDescriptionAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Integerarg2
- java.lang.Stringjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findByPolicy(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_policyId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.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.
getLanguageId
in interface
PolicyDescriptionAccessBeanData
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
This method provides access to the POLICYDESC.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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLanguageId(java.lang.String newValue)
This method provides access to the POLICYDESC.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.
setLanguageId
in interface
PolicyDescriptionAccessBeanData
newValue
- Stringpublic void setLanguageId(java.lang.Integer newValue)
This method provides access to the POLICYDESC.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.
newValue
- java.lang.Integerpublic java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
getTimeUpdated
in interface
PolicyDescriptionAccessBeanData
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
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
setTimeUpdated
in interface
PolicyDescriptionAccessBeanData
newValue
- Stringpublic void setTimeUpdated(java.sql.Timestamp newValue)
This method provides access to the POLICYDESC.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
newValue
- java.sql.Timestamppublic java.lang.String getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getLongDescription
in interface
PolicyDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLongDescription(java.lang.String newValue)
setLongDescription
in interface
PolicyDescriptionAccessBeanData
public java.lang.String getPolicyId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
getPolicyId
in interface
PolicyDescriptionAccessBeanData
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
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPolicyId(java.lang.String newValue)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
setPolicyId
in interface
PolicyDescriptionAccessBeanData
newValue
- Stringpublic void setPolicyId(java.lang.Long newValue)
This method provides access to the POLICYDESC.POLICY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The policy ID.
newValue
- java.lang.Longpublic java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
getTimeCreated
in interface
PolicyDescriptionAccessBeanData
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
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
setTimeCreated
in interface
PolicyDescriptionAccessBeanData
newValue
- Stringpublic void setTimeCreated(java.sql.Timestamp newValue)
This method provides access to the POLICYDESC.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
newValue
- java.sql.Timestamppublic java.lang.String getShortDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(508) NOT NULL.
The following is a description of this column:
The policy description.
getShortDescription
in interface
PolicyDescriptionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setShortDescription(java.lang.String newValue)
This method provides access to the POLICYDESC.DESCRIPTION column of DB2 type VARCHAR(508) NOT NULL.
The following is a description of this column:
The policy description.
setShortDescription
in interface
PolicyDescriptionAccessBeanData
newValue
- java.lang.String