Package com.saperion.ws.wrapper.wf
Class SaWsCommand
- java.lang.Object
-
- com.saperion.ws.wrapper.wf.SaWsCommand
-
public class SaWsCommand extends java.lang.ObjectThe Class SaWsCommand.
-
-
Constructor Summary
Constructors Constructor Description SaWsCommand()Instantiates a new sa ws command.SaWsCommand(com.saperion.intf.wf.CommandInfo newCommand)Instantiates a new sa ws command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaWsCommandEnumgetCommand()Gets the command.java.lang.StringgetDescription()Gets the description.intgetTransition()Gets the transition.booleanisEnabled()Checks if is enabled.voidsetCommand(SaWsCommandEnum newCommand)Sets the command.voidsetDescription(java.lang.String newDescription)Sets the description.voidsetEnabled(boolean isEnabled)Sets the enabled.voidsetTransition(int newTransition)Sets the transition.
-
-
-
Method Detail
-
getCommand
public SaWsCommandEnum getCommand()
Gets the command.- Returns:
- the command
-
setCommand
public void setCommand(SaWsCommandEnum newCommand)
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
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String newDescription)
Sets the description.- Parameters:
newDescription- the new description
-
-