public class SetParameterValueResult extends ParameterOperationResult
Set Parameter Value operation;
This result is the parameter model whose value has been set.
Use the getParameter() method
to get the resulting parameter model.
SetParameterValueOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="setParameterValueResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="adminParameter" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_ID
Mapping for the operation ID: "opID"
|
static java.lang.String |
OPERATION_NAME
The XML name of this operation: "setParameterValueResult"
|
| Constructor and Description |
|---|
SetParameterValueResult() |
SetParameterValueResult(AdminParameterModel model)
Initializes a new
SetParameterValueResult instance with
a parameter name and a parameter value. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this operation.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this operation.
|
java.lang.String |
getName()
Returns the XML name of the operation, that is "setParameterValueResult".
|
java.lang.String |
getOperandReference()
Returns the operand reference for audit.
|
java.lang.String |
getOperationID()
Gets the operation identifier.
|
AdminParameterModel |
getParameter()
Gets the parameter.
|
void |
marshal(XMLOutputter output)
Writes the operation XML data to the given output.
|
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the
XMLAttributes. |
void |
setOperationID(java.lang.String id)
Sets the operation identifier.
|
setParameterpublic static final java.lang.String OPERATION_NAME
public static final java.lang.String OPERATION_ID
public SetParameterValueResult()
public SetParameterValueResult(AdminParameterModel model)
SetParameterValueResult instance with
a parameter name and a parameter value.model - The model of the parameterpublic AdminParameterModel getParameter()
getParameter in class ParameterOperationResultpublic java.lang.String getOperationID()
null if the operation
has no identifier.public void setOperationID(java.lang.String id)
id - The operation IDpublic java.lang.String getName()
public java.lang.String getOperandReference()
public void setAttributes(XMLAttributes atts)
XMLAttributes.atts - The XMLAttributes containing the datapublic void addCharacterData(java.lang.String cData)
This data is ignored for this operation.
cData - The character data to add to the operationpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
For this operation, the child must be a
.ParameterModel
tagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshal(XMLOutputter output)
output - The XMLOutputter to write into