public class PurgeFileMetadataResult extends OperationResultAdapter
Purge File Metadata operation.
It contains the number of file metadata deleted during the execution of the operation.
PurgeFileMetadataOpThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="purgeFileMetadataResult">
<xs:complexType>
<xs:attribute name="referenceDate" type="xs:dateTime" use="required" />
<xs:attribute name="purgedCount" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RESULT_NAME
The XML tag used for this result.
|
| Constructor and Description |
|---|
PurgeFileMetadataResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.lang.String |
getOperandReference()
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 is
null. |
int |
getPurgedCount()
Gets the number of file metadata deleted during the purge operation.
|
java.util.Date |
getReferenceDate()
Gets the reference date for the purge operation.
|
java.lang.String |
getTagName()
Gets the XML tag name of the
HCI operation result. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setPurgedCount(int purgedCount)
Sets the number of file metadata deleted during the purge operation.
|
void |
setReferenceDate(java.util.Date referenceDate)
Sets the reference date for the purge operation.
|
marshalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshalpublic static final java.lang.String RESULT_NAME
public java.util.Date getReferenceDate()
public void setReferenceDate(java.util.Date referenceDate)
referenceDate - the reference date for the purge operationpublic int getPurgedCount()
public void setPurgedCount(int purgedCount)
purgedCount - the number of file metadata deleted during the purge operationpublic java.lang.String getOperandReference()
OperationResultnull.public java.lang.String getTagName()
OperationResultAdapterHCI operation result.getTagName in interface ITagNameProvidergetTagName in class OperationResultAdapterpublic void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.tagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallablecData - The character data to be added