com.ibm.commerce.negotiation.beans
Class ControlRuleDataBean

java.lang.Object
  |
  +--com.ibm.commerce.negotiation.beans.ControlRuleDataBean
All Implemented Interfaces:
CommandDataBean, ControlRuleInputDataBean, ControlRuleSmartDataBean, DataBean, InputDataBean, java.io.Serializable
Direct Known Subclasses:
OpenCryBidControlRuleDataBean, SealedBidControlRuleDataBean

public abstract class ControlRuleDataBean
extends java.lang.Object
implements ControlRuleInputDataBean, ControlRuleSmartDataBean, CommandDataBean

Abstract class establishes the interface for controlrule classes specific to auction types; cannot be instantiated.

See Also:
OpenCryBidControlRuleDataBean, SealedBidControlRuleDataBean, CommandDataBean, Serialized Form

Field Summary
protected  java.lang.String commandInterfaceName
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String id
           
protected  java.lang.String ownerId
           
protected  java.lang.String ruleDesc
           
protected  java.lang.String ruleInterpreterClassId
           
protected  java.lang.String ruleName
           
protected  java.lang.String ruleType
           
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ControlRuleDataBean()
          Constructs a ControlRuleDataBean.
 
Method Summary
abstract  java.lang.String getCommandInterfaceName()
          Abstract method establishes interface used to get the value of commandInterfaceName.
 java.lang.String getId()
          Gets the control rule id.
 java.lang.String getOwnerId()
          Gets the ownerId field.
 TypedProperty getRequestProperties()
          Gets the value of requestProperties; currently implemented to return null.
 java.lang.String getRuleDesc()
          Gets the control rule description.
 java.lang.String getRuleInterpreterClassId()
          Gets the id of the control rule interpreter class.
 java.lang.String getRuleName()
          Gets the ruleName.
 java.lang.String getRuleType()
          Gets the ruleType.
abstract  void setCommandInterfaceName(java.lang.String ifname)
          Sets the commandInterfaceName.
 void setId(java.lang.String newId)
          Sets the control rule id.
 void setOwnerId(java.lang.String newOwnerId)
          Sets the ownerId field.
 void setRequestProperties(TypedProperty param)
          Parses required parameters from TypedProperty param.
 void setRuleDesc(java.lang.String newRuleDesc)
          Sets the rule description.
 void setRuleInterpreterClassId(java.lang.String newRuleInterpreterClassId)
          Sets the rule interpreter class id.
 void setRuleName(java.lang.String newRuleName)
          Sets the ruleName.
 void setRuleType(java.lang.String newRuleType)
          Sets the ruleType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandInterfaceName

protected java.lang.String commandInterfaceName

COPYRIGHT

public static final java.lang.String COPYRIGHT

id

protected java.lang.String id

ownerId

protected java.lang.String ownerId

ruleDesc

protected java.lang.String ruleDesc

ruleInterpreterClassId

protected java.lang.String ruleInterpreterClassId

ruleName

protected java.lang.String ruleName

ruleType

protected java.lang.String ruleType
Constructor Detail

ControlRuleDataBean

public ControlRuleDataBean()
Constructs a ControlRuleDataBean.
Method Detail

getCommandInterfaceName

public abstract java.lang.String getCommandInterfaceName()
Abstract method establishes interface used to get the value of commandInterfaceName.
Specified by:
getCommandInterfaceName in interface CommandDataBean
Returns:
the active CommandInterfaceName.

getId

public java.lang.String getId()
Gets the control rule id.
Specified by:
getId in interface ControlRuleSmartDataBean
Returns:
the control rule id

getOwnerId

public java.lang.String getOwnerId()
Gets the ownerId field.
Specified by:
getOwnerId in interface ControlRuleSmartDataBean
Returns:
the owner id.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the value of requestProperties; currently implemented to return null.
Specified by:
getRequestProperties in interface InputDataBean
Returns:
always null

getRuleDesc

public java.lang.String getRuleDesc()
Gets the control rule description.
Specified by:
getRuleDesc in interface ControlRuleSmartDataBean
Returns:
the rule description.

getRuleInterpreterClassId

public java.lang.String getRuleInterpreterClassId()
Gets the id of the control rule interpreter class.
Specified by:
getRuleInterpreterClassId in interface ControlRuleSmartDataBean
Returns:
the id of the control rule interpreter class.

getRuleName

public java.lang.String getRuleName()
Gets the ruleName.
Specified by:
getRuleName in interface ControlRuleSmartDataBean
Returns:
the rule name.

getRuleType

public java.lang.String getRuleType()
Gets the ruleType.
Specified by:
getRuleType in interface ControlRuleSmartDataBean
Returns:
the rule type.

setCommandInterfaceName

public abstract void setCommandInterfaceName(java.lang.String ifname)
Sets the commandInterfaceName.
Specified by:
setCommandInterfaceName in interface CommandDataBean
Parameters:
the - new command interface name.

setId

public void setId(java.lang.String newId)
Sets the control rule id.
Specified by:
setId in interface ControlRuleInputDataBean
Parameters:
newId - the new control rule id.

setOwnerId

public void setOwnerId(java.lang.String newOwnerId)
Sets the ownerId field.
Specified by:
setOwnerId in interface ControlRuleInputDataBean
Parameters:
newOwnerId - Id of the auction owner.

setRequestProperties

public void setRequestProperties(TypedProperty param)
Parses required parameters from TypedProperty param.
Specified by:
setRequestProperties in interface InputDataBean
Parameters:
param - the name-value pairs of parameters.

setRuleDesc

public void setRuleDesc(java.lang.String newRuleDesc)
Sets the rule description.
Specified by:
setRuleDesc in interface ControlRuleInputDataBean
Parameters:
newRuleDesc - the new rule description.

setRuleInterpreterClassId

public void setRuleInterpreterClassId(java.lang.String newRuleInterpreterClassId)
Sets the rule interpreter class id.
Specified by:
setRuleInterpreterClassId in interface ControlRuleInputDataBean
Parameters:
newRuleInterpreterClassId - the rule interpreter class id.

setRuleName

public void setRuleName(java.lang.String newRuleName)
Sets the ruleName.
Specified by:
setRuleName in interface ControlRuleInputDataBean
Parameters:
newRuleName - the new rule name.

setRuleType

public void setRuleType(java.lang.String newRuleType)
Sets the ruleType.
Specified by:
setRuleType in interface ControlRuleInputDataBean
Parameters:
newRuleType - the new rule type.