public class PromotionElementNVPValidationCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements PromotionElementNVPValidationCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
PromotionElementNVPValidationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String | getName()
Returns the name.
|
protected java.lang.String | getValue()
Returns the value.
|
boolean | isReadyToCallExecute()
This method checks if name and value are null or not.
|
void | performExecute()
This method checks a NVP value and throws exception if the value is null or an empty string.
|
void | reset()
This method sets name and value to empty strings.
|
void | setName(java.lang.String sName)
Sets the name of the value to be validated.
|
void | setValue(java.lang.String sValue)
Sets the value to be validated.
|
public static final java.lang.String COPYRIGHT
public PromotionElementNVPValidationCmdImpl()
public boolean isReadyToCallExecute()
public void reset()
public void setName(java.lang.String sName)
public void setValue(java.lang.String sValue)
protected java.lang.String getName()
protected java.lang.String getValue()
public void performExecute() throws java.lang.Exception