public class DeleteRatingSessionOp
extends java.lang.Object
implements com.highdeal.hci.MessageOperation
InvalidRatingSessionExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteRatingSession">
<xs:complexType>
<xs:attribute name="sessionID" type="xs:string"/>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
DeleteRatingSessionOp()
Deletes a rating session in database
|
| 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 marsh)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.lang.String |
getName()
Gets the name.
|
java.lang.Long |
getSessionID()
Gets the session unique ID.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setSessionID(java.lang.Long sessionID)
Sets the session unique ID.
|
public DeleteRatingSessionOp()
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic java.lang.Long getSessionID()
public void setSessionID(java.lang.Long sessionID)
sessionID - the session unique id.public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(java.lang.String tagName,
XMLMarshallable marsh)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childmarsh - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into