public abstract class ControlRuleDataBean extends java.lang.Object implements ControlRuleInputDataBean, ControlRuleSmartDataBean, CommandDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
emptyString
Constructor and Description |
---|
ControlRuleDataBean()
Constructs a control rule data bean.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getCommandInterfaceName()
Abstract method establishes interface used to get the value of command interface name.
|
java.lang.String |
getId()
Gets the control rule ID.
|
java.lang.String |
getOwnerId()
Gets the owner ID 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 rule name.
|
java.lang.String |
getRuleType()
Gets the rule type.
|
void |
setCommandContext(CommandContext cmdContext)
Sets command context.
|
abstract void |
setCommandInterfaceName(java.lang.String ifname)
Sets the command interface name.
|
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.
|
public static final java.lang.String COPYRIGHT
public ControlRuleDataBean()
public abstract java.lang.String getCommandInterfaceName()
getCommandInterfaceName
in interface CommandDataBean
public java.lang.String getId()
getId
in interface ControlRuleSmartDataBean
public java.lang.String getOwnerId()
getOwnerId
in interface ControlRuleSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public java.lang.String getRuleDesc()
getRuleDesc
in interface ControlRuleSmartDataBean
public java.lang.String getRuleInterpreterClassId()
getRuleInterpreterClassId
in interface ControlRuleSmartDataBean
public java.lang.String getRuleName()
getRuleName
in interface ControlRuleSmartDataBean
public java.lang.String getRuleType()
getRuleType
in interface ControlRuleSmartDataBean
public abstract void setCommandInterfaceName(java.lang.String ifname)
setCommandInterfaceName
in interface CommandDataBean
the
- new command interface name.public void setId(java.lang.String newId)
setId
in interface ControlRuleInputDataBean
newId
- the new control rule ID.public void setOwnerId(java.lang.String newOwnerId)
setOwnerId
in interface ControlRuleInputDataBean
newOwnerId
- ID of the auction owner.public void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
param
- the name-value pairs of parameters.public void setRuleDesc(java.lang.String newRuleDesc)
setRuleDesc
in interface ControlRuleInputDataBean
newRuleDesc
- the new rule description.public void setRuleInterpreterClassId(java.lang.String newRuleInterpreterClassId)
setRuleInterpreterClassId
in interface ControlRuleInputDataBean
newRuleInterpreterClassId
- the rule interpreter class ID.public void setRuleName(java.lang.String newRuleName)
setRuleName
in interface ControlRuleInputDataBean
newRuleName
- the new rule name.public void setRuleType(java.lang.String newRuleType)
setRuleType
in interface ControlRuleInputDataBean
newRuleType
- the new rule type.public void setCommandContext(CommandContext cmdContext)
commandContext
- The command context.