public class AsyncRunRatingSessionOp
extends java.lang.Object
implements com.highdeal.hci.MessageOperation
RunRatingSessionOp operation, the operation result AsyncRunRatingSessionResult will be
returned once the rating session is started. No other result operation will be returned.InvalidRatingSessionExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="asyncRunRatingSession">
<xs:complexType>
<xs:sequence>
<xs:element ref="rating" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
| Constructor and Description |
|---|
AsyncRunRatingSessionOp()
Builds an empty operation.
|
| 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 |
getName()
Gets the name.
|
RatingSessionModel |
getRatingSession()
Gets the rating session to run.
|
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 |
setRatingSession(RatingSessionModel session)
Sets the rating session to run.
|
public AsyncRunRatingSessionOp()
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic RatingSessionModel getRatingSession()
public void setRatingSession(RatingSessionModel session)
session - the rating session to runpublic 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 child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into