Class ProgressModelSkeleton
java.lang.Object
de.mid.innovator.m2msdk.model.progress.ProgressModelSkeleton
- All Implemented Interfaces:
ProgressModelInterface,Serializable,Remote
Remote proxy for forwarding client calls to server model.
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdvance the element counterGet the configuration item of the currently processed item.gets the current processed element name.org.jdom2.DocumentGet content of progress model as a document.Get number of model elements treated in the current model transformation and number of current model element.getStep()Get the number of model transformation steps to be executed and number of current model transformation step.booleanThe progress model is waiting for new information from engine.booleanHas the progress model already started? Only for a started progress model a progress dialog is shown.voidreset()Resets the ProgressModel.voidsetClientWaiting(boolean waiting) Tell the progress model, whether the progress client is waiting on new information from server engine.voidSet the configuration item of the currently running configured itemvoidsetCurrentElement(ProgressInfo iInfo) Set the current element.voidsetNumModelElements(int numModelElements) Set number of model elements treated in the current model transformation step.voidsetNumSteps(int numSteps) Set number of model transformation steps to be executed.voidsetStarted(boolean started) Set to true, if the progress model already has started.voidAdvance the step countervoidstepInto()Continue processing until the next of the son type.voidstepOut()Continue processing until the next of the parent type.voidstepOver()Continue processing until the next of the same type.
-
Constructor Details
-
ProgressModelSkeleton
-
-
Method Details
-
isStarted
Has the progress model already started? Only for a started progress model a progress dialog is shown.- Specified by:
isStartedin interfaceProgressModelInterface- Returns:
- True if progress model has started
- Throws:
RemoteException- communication error
-
setStarted
Set to true, if the progress model already has started.- Specified by:
setStartedin interfaceProgressModelInterface- Parameters:
started- True if progress model has started- Throws:
RemoteException- communication error
-
getStep
Get the number of model transformation steps to be executed and number of current model transformation step.- Specified by:
getStepin interfaceProgressModelInterface- Returns:
- relative number of steps
- Throws:
RemoteException- communication error
-
setNumSteps
Set number of model transformation steps to be executed.- Specified by:
setNumStepsin interfaceProgressModelInterface- Parameters:
numSteps- Number of steps- Throws:
RemoteException- communication error
-
getModelElement
Get number of model elements treated in the current model transformation and number of current model element.- Specified by:
getModelElementin interfaceProgressModelInterface- Returns:
- relative number of model elements
- Throws:
RemoteException- communication error
-
setNumModelElements
Set number of model elements treated in the current model transformation step.- Specified by:
setNumModelElementsin interfaceProgressModelInterface- Parameters:
numModelElements- Number of model elements- Throws:
RemoteException- communication error
-
getCurrentElement
gets the current processed element name.- Specified by:
getCurrentElementin interfaceProgressModelInterface- Returns:
- name of the currently processed element
- Throws:
RemoteException- communication error
-
reset
Resets the ProgressModel.- Specified by:
resetin interfaceProgressModelInterface- Throws:
RemoteException- communication error
-
stepOver
Continue processing until the next of the same type.- Specified by:
stepOverin interfaceProgressModelInterface- Throws:
RemoteException- communication error
-
stepOut
Continue processing until the next of the parent type.- Specified by:
stepOutin interfaceProgressModelInterface- Throws:
RemoteException- communication error
-
stepInto
Continue processing until the next of the son type.- Specified by:
stepIntoin interfaceProgressModelInterface- Throws:
RemoteException
-
getCurrentConfigurationItem
Get the configuration item of the currently processed item.- Specified by:
getCurrentConfigurationItemin interfaceProgressModelInterface- Returns:
- configuration item of the current configured item
- Throws:
RemoteException
-
setCurrentConfigurationItem
Set the configuration item of the currently running configured item- Specified by:
setCurrentConfigurationItemin interfaceProgressModelInterface- Parameters:
iItem- configuration item- Throws:
RemoteException
-
isClientWaiting
Description copied from interface:ProgressModelInterfaceThe progress model is waiting for new information from engine. This is for synchronization of progress client and server engine.- Specified by:
isClientWaitingin interfaceProgressModelInterface- Returns:
- true, if the progress client is waiting for new information.
- Throws:
RemoteException
-
setClientWaiting
Description copied from interface:ProgressModelInterfaceTell the progress model, whether the progress client is waiting on new information from server engine. This is for synchronization of progress client and server engine.- Specified by:
setClientWaitingin interfaceProgressModelInterface- Parameters:
waiting- true, if the progress client is waiting for new information.- Throws:
RemoteException
-
setCurrentElement
Description copied from interface:ProgressModelInterfaceSet the current element.- Specified by:
setCurrentElementin interfaceProgressModelInterface- Parameters:
iInfo- Next element- Throws:
M2MExceptionRemoteException
-
getDocument
Description copied from interface:ProgressModelInterfaceGet content of progress model as a document.- Specified by:
getDocumentin interfaceProgressModelInterface- Returns:
- XML document containing the content of the progress model
- Throws:
RemoteException
-
stepAdvance
public void stepAdvance()Description copied from interface:ProgressModelInterfaceAdvance the step counter- Specified by:
stepAdvancein interfaceProgressModelInterface
-
elementAdvance
public void elementAdvance()Description copied from interface:ProgressModelInterfaceAdvance the element counter- Specified by:
elementAdvancein interfaceProgressModelInterface
-