Package com.saperion.ws.wrapper.wf
Class SaWsCommand
java.lang.Object
com.saperion.ws.wrapper.wf.SaWsCommand
The Class SaWsCommand.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new sa ws command.SaWsCommand(com.saperion.intf.wf.CommandInfo newCommand) Instantiates a new sa ws command. -
Method Summary
Modifier and TypeMethodDescriptionGets the command.Gets the description.intGets the transition.booleanChecks if is enabled.voidsetCommand(SaWsCommandEnum newCommand) Sets the command.voidsetDescription(String newDescription) Sets the description.voidsetEnabled(boolean isEnabled) Sets the enabled.voidsetTransition(int newTransition) Sets the transition.
-
Constructor Details
-
SaWsCommand
public SaWsCommand()Instantiates a new sa ws command. -
SaWsCommand
public SaWsCommand(com.saperion.intf.wf.CommandInfo newCommand) Instantiates a new sa ws command.- Parameters:
newCommand- the command
-
-
Method Details
-
getCommand
Gets the command.- Returns:
- the command
-
setCommand
Sets the command.- Parameters:
newCommand- the new command
-
getTransition
public int getTransition()Gets the transition.- Returns:
- the transition
-
setTransition
public void setTransition(int newTransition) Sets the transition.- Parameters:
newTransition- the new transition
-
isEnabled
public boolean isEnabled()Checks if is enabled.- Returns:
- true, if is enabled
-
setEnabled
public void setEnabled(boolean isEnabled) Sets the enabled.- Parameters:
isEnabled- the new enabled
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
newDescription- the new description
-