Package com.highdeal.admin.hci
Class SetParameterValueResult
java.lang.Object
com.highdeal.admin.hci.ParameterOperationResult
com.highdeal.admin.hci.SetParameterValueResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Set Parameter Value operation;
This result is the parameter model whose value has been set.
Implementation in Your Client Application
Use the getParameter() method
to get the resulting parameter model.
Operation Request
SetParameterValueOp XML API for HCI
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>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a newSetParameterValueResultinstance with a parameter name and a parameter value. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds string data to this operation.voidaddChild(String tagName, XMLMarshallable child) Adds a child tag to this operation.getName()Returns the XML name of the operation, that is "setParameterValueResult".Returns the operand reference for audit.Gets the operation identifier.Gets the parameter.voidmarshal(XMLOutputter output) Writes the operation XML data to the given output.voidsetAttributes(XMLAttributes atts) Sets the operation attributes from theXMLAttributes.voidsetOperationID(String id) Sets the operation identifier.Methods inherited from class com.highdeal.admin.hci.ParameterOperationResult
setParameter
-
Field Details
-
OPERATION_NAME
The XML name of this operation: "setParameterValueResult"- See Also:
-
OPERATION_ID
Mapping for the operation ID: "opID"- See Also:
-
-
Constructor Details
-
SetParameterValueResult
public SetParameterValueResult() -
SetParameterValueResult
Initializes a newSetParameterValueResultinstance with a parameter name and a parameter value.- Parameters:
model- The model of the parameter
-
-
Method Details
-
getParameter
Gets the parameter.- Overrides:
getParameterin classParameterOperationResult- Returns:
- The parameter
-
getOperationID
Gets the operation identifier.- Returns:
- The operation ID, or
nullif the operation has no identifier.
-
setOperationID
Sets the operation identifier.- Parameters:
id- The operation ID
-
getName
Returns the XML name of the operation, that is "setParameterValueResult".- Returns:
- "setParameterValueResult"
-
getOperandReference
Returns the operand reference for audit.- Returns:
- The operand reference for audit
-
setAttributes
Sets the operation attributes from theXMLAttributes.- Parameters:
atts- TheXMLAttributescontaining the data
-
addCharacterData
Adds string data to this operation.This data is ignored for this operation.
- Parameters:
cData- The character data to add to the operation
-
addChild
Adds a child tag to this operation.For this operation, the child must be a
.ParameterModel- Parameters:
tagName- The name of the tagchild- TheXMLMarshallablechild to add
-
marshal
Writes the operation XML data to the given output.- Parameters:
output- TheXMLOutputterto write into
-