com.buildforge.services.common.api
Class APIReverseMap

java.lang.Object
  extended by com.buildforge.services.common.api.APIReverseMap

public class APIReverseMap
extends java.lang.Object


Constructor Summary
APIReverseMap()
           
 
Method Summary
static java.lang.String lookup(int cmd)
          Attempts to resolve the name of the command that corresponds to the specified command code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APIReverseMap

public APIReverseMap()
Method Detail

lookup

public static java.lang.String lookup(int cmd)
Attempts to resolve the name of the command that corresponds to the specified command code.

Parameters:
cmd - the command ID number, as an integer
Returns:
the name of the command, or null if the specified command number could not be resolved