com.ibm.commerce.contract.objimpl
Class PolicyCommandBeanBase

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.contract.objimpl.PolicyCommandBeanBase
Direct Known Subclasses:
PolicyCommandBean

public class PolicyCommandBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

This bean provides access to the POLICYCMD table.

The following is a description of this table:

The business policy to command relationship table.

See Also:
Serialized Form

Field Summary
 java.lang.String businessCmdClass
           
 java.lang.Long policyId
           
 java.lang.String properties
           
 
Constructor Summary
PolicyCommandBeanBase()
           
 
Method Summary
 com.ibm.commerce.contract.objects.PolicyCommandKey ejbCreate(java.lang.Long argPolicyId, java.lang.String argBusinesCmdClass)
          Constructs an PolicyCommandAccessBean object with the specified business policy ID, and the name of the specified business command class.
 java.lang.String getBusinessCmdClass()
          This method provides access to the POLICYCMD.BUSINESSCMDCLASS column of DB2 type VARCHAR(200) NOT NULL.
 java.lang.Long getPolicyId()
          This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getProperties()
          This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL.
 void setProperties(java.lang.String newValue)
          This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

policyId

public java.lang.Long policyId

businessCmdClass

public java.lang.String businessCmdClass

properties

public java.lang.String properties
Constructor Detail

PolicyCommandBeanBase

public PolicyCommandBeanBase()
Method Detail

ejbCreate

public com.ibm.commerce.contract.objects.PolicyCommandKey ejbCreate(java.lang.Long argPolicyId,
                                                                    java.lang.String argBusinesCmdClass)
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    javax.naming.NamingException
Constructs an PolicyCommandAccessBean object with the specified business policy ID, and the name of the specified business command class.
Parameters:
argPolicyId - The ID of the business policy.
argBusinesCmdClass - The name of the business policy command class.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.
javax.ejb.FinderException - The javax.ejb.FinderException exception.
javax.naming.NamingException - The javax.naming.NamingExceptionexception.

getBusinessCmdClass

public java.lang.String getBusinessCmdClass()

This method provides access to the POLICYCMD.BUSINESSCMDCLASS column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

The command that implements this business policy.

Returns:
The name of the business policy command.

getPolicyId

public java.lang.Long getPolicyId()

This method provides access to the POLICYCMD.POLICY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The business policy ID.

Returns:
The business policy ID.

getProperties

public java.lang.String getProperties()

This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Default name value pairs that can be set to the business policy command.

For example: n1=v1&n2=v2. If null, use the properties from the POLICY table.

Returns:
The properties of the business policy command.

setProperties

public void setProperties(java.lang.String newValue)

This method provides access to the POLICYCMD.PROPERTIES column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Default name value pairs that can be set to the business policy command.

For example: n1=v1&n2=v2. If null, use the properties from the POLICY table.

Parameters:
newValue - The properties of the business policy command.