Package com.highdeal.bart.hci
Class SchedulableJobOperationResult
java.lang.Object
com.highdeal.bart.hci.SchedulableJobOperationResult
- All Implemented Interfaces:
com.highdeal.hci.OperationResult,XMLMarshallable
- Direct Known Subclasses:
CreateSchedulableJobResult,ModifySchedulableJobResult,SearchSchedulableJobResult
public abstract class SchedulableJobOperationResult
extends Object
implements com.highdeal.hci.OperationResult
This class is a generic abstract class for the results returned by
operations on Schedulable jobs.
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulableJobOperationResult(String resultTagName, boolean singleton) Builds an SchedulableJobOperationResult without job. -
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.getJob()Gets the job.getJobs()Gets the job list.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the job(internal use).voidsetJobs(Vector<SchedulableJobModel> list) Sets the jobs list.
-
Constructor Details
-
SchedulableJobOperationResult
Builds an SchedulableJobOperationResult without job.- Parameters:
resultTagName- the operation result name.singleton- is attrueif there is only one result(job).
-
-
Method Details
-
setJobs
Sets the jobs list.- Parameters:
list- a vector ofSchedulableJobModel.
-
getJobs
Gets the job list. This method must be called by the client, if the current operation on groups must return a list of jobs.- Returns:
- a vector of
SchedulableJobModel.
-
getJob
Gets the job. This method must be called by the client, if the current operation on job must return a single job.- Returns:
- the
SchedulableJobModel.
-
setJob
Sets the job(internal use).- Parameters:
job- thejob.
-
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
-