StringValueExp
ValueExp
Basic constructor.
Creates a new StringValueExp representing the given string.paramval the string that will be the value of this expression this.val = val;
this.val = val;
Applies the ValueExp on a MBean.paramname The name of the MBean on which the ValueExp will be applied.returnThe ValueExp.exceptionBadStringOperationExceptionexceptionBadBinaryOpValueExpExceptionexceptionBadAttributeValueExpExceptionexceptionInvalidApplicationException return this;
return this;
Returns the string represented by the StringValueExp instance.returnthe string. return val;
return val;
Sets the MBean server on which the query is to be performed.params The MBean server on which the query is to be performed.
Returns the string representing the object. return "'" + val + "'";
return "'" + val + "'";