Package com.saperion.wf
Class CommandInfoImpl
- java.lang.Object
- 
- com.saperion.wf.CommandInfoImpl
 
- 
- All Implemented Interfaces:
- CommandInfo,- java.io.Serializable
 
 public class CommandInfoImpl extends java.lang.Object implements CommandInfo - Author:
- rbo
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CommandInfoImpl(SaWFConstants.CommandId cmd, java.lang.String desc, boolean isEnabled, int trans)CommandInfoImpl(SaWFConstants.CommandId cmd, java.lang.String desc, boolean isEnabled, int trans, boolean reasonRequired, boolean nextReceiverRequired)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)SaWFConstants.CommandIdgetCommand()intgetTransition()java.lang.StringgetTransitionDescription()inthashCode()booleanisEnabled()booleanisNextReceiverRequired()booleanisReasonRequired()java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
CommandInfoImplpublic CommandInfoImpl(SaWFConstants.CommandId cmd, java.lang.String desc, boolean isEnabled, int trans) 
 - 
CommandInfoImplpublic CommandInfoImpl(SaWFConstants.CommandId cmd, java.lang.String desc, boolean isEnabled, int trans, boolean reasonRequired, boolean nextReceiverRequired) Constructor.- Parameters:
- cmd- Command
- desc- Description
- isEnabled- Is enabled
- trans-
- reasonRequired-
- nextReceiverRequired-
 
 
- 
 - 
Method Detail- 
getCommandpublic SaWFConstants.CommandId getCommand() - Specified by:
- getCommandin interface- CommandInfo
- Returns:
- the command
- See Also:
- CommandInfo.getCommand()
 
 - 
getTransitionpublic int getTransition() - Specified by:
- getTransitionin interface- CommandInfo
- Returns:
- the transition
- See Also:
- CommandInfo.getTransition()
 
 - 
isEnabledpublic boolean isEnabled() - Specified by:
- isEnabledin interface- CommandInfo
- Returns:
- the enabled
- See Also:
- CommandInfo.isEnabled()
 
 - 
getTransitionDescriptionpublic java.lang.String getTransitionDescription() - Specified by:
- getTransitionDescriptionin interface- CommandInfo
- Returns:
- the description of the transition
- See Also:
- CommandInfo.getTransitionDescription()
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
- See Also:
- Object.equals(java.lang.Object)
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
- See Also:
- Object.hashCode()
 
 - 
isReasonRequiredpublic boolean isReasonRequired() - Specified by:
- isReasonRequiredin interface- CommandInfo
- Returns:
- whether the user has to give a reason to invoking this command
 
 - 
isNextReceiverRequiredpublic boolean isNextReceiverRequired() - Specified by:
- isNextReceiverRequiredin interface- CommandInfo
- Returns:
- whether the user has to select the next receiver
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-