Package com.highdeal.bart.hci
Class AcquisitionSessionOperationResult
java.lang.Object
com.highdeal.bart.hci.AcquisitionSessionOperationResult
- All Implemented Interfaces:
com.highdeal.hci.OperationResult,XMLMarshallable
- Direct Known Subclasses:
StartAcquisitionSessionResult,StopAcquisitionSessionResult
public abstract class AcquisitionSessionOperationResult
extends Object
implements com.highdeal.hci.OperationResult
This class is a generic abstract class for the results returned by operations on AcquisitionSession.
- If the current operation on AcquisitionSession must return a list of
sessions, please use
getAcquisitionSessions()method for the result obtention. - If the current operation on AcquisitionSession must returns only one AcquisitionSession, please use
gesAcquisitionSession()method for the result obtention.
-
Constructor Summary
ConstructorsConstructorDescriptionAcquisitionSessionOperationResult(String resultTagName, boolean singleton) Builds an AcquisitionSessionOperationResult without session. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the AcquisitionSessionModel.Gets the acquisition session list.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidvoidSets the acquisition session list.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.
-
Constructor Details
-
AcquisitionSessionOperationResult
Builds an AcquisitionSessionOperationResult without session.- Parameters:
resultTagName- the operation result name.singleton- is attrueif there is only one result(session).
-
-
Method Details
-
setAcquisitionSessions
Sets the acquisition session list.- Parameters:
list- a vector ofAcquisitionSessionModel.
-
getAcquisitionSessions
Gets the acquisition session list. This method must be called by the client, if the current operation on sessions must return a list of sessions.- Returns:
- a vector of
AcquisitionSessionModel.
-
getAcquisitionSession
Gets the AcquisitionSessionModel. This method must be called by the client, if the current operation on AcquisitionSessionModels must return a single AcquisitionSessionModel.- Returns:
- the
AcquisitionSessionModel.
-
setAcquisitionSession
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
getOperandReference
- Specified by:
getOperandReferencein interfacecom.highdeal.hci.OperationResult
-