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.int
Gets the transition.boolean
Checks if is enabled.void
setCommand
(SaWsCommandEnum newCommand) Sets the command.void
setDescription
(String newDescription) Sets the description.void
setEnabled
(boolean isEnabled) Sets the enabled.void
setTransition
(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
-