Package com.highdeal.admin.hci
Class ResetParameterValueResult
java.lang.Object
com.highdeal.admin.hci.ParameterOperationResult
com.highdeal.admin.hci.ResetParameterValueResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class represents the result of the
Reset Parameter Value operation;
It is the parameter model which has been reset.
Use getParameter()
to get the resulting parameter model.
Operation Request
ResetParameterValueOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="resetParameterValueResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="adminParameter" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResetParameterValueResult(AdminParameterModel parameter) Initializes a newResetParameterValueResultinstance with a parameter name. -
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 name of the operation, that is "resetParameterValueResult".Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.Gets the operation id.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 id.Methods inherited from class com.highdeal.admin.hci.ParameterOperationResult
setParameter
-
Field Details
-
OPERATION_NAME
The name of this operation : "resetParameterValueResult".- See Also:
-
OPERATION_ID
Mapping for the operation ID : "opID".- See Also:
-
-
Constructor Details
-
ResetParameterValueResult
public ResetParameterValueResult() -
ResetParameterValueResult
Initializes a newResetParameterValueResultinstance with a parameter name.- Parameters:
parameter- the parameter to be returned
-
-
Method Details
-
getParameter
Gets the parameter.- Overrides:
getParameterin classParameterOperationResult- Returns:
- the parameter
-
getOperationID
Gets the operation id.- Returns:
- the operation id, or null if the operation has no id.
-
setOperationID
Sets the operation id.- Parameters:
id- the operation id.
-
getName
Returns the name of the operation, that is "resetParameterValueResult".- Returns:
- "resetParameterValueResult"
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Returns:
- The operand reference of the operation result
-
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
-