Class Data

java.lang.Object
org.vrspace.server.dto.Data
All Implemented Interfaces:
Command

public class Data extends Object implements Command
Command to set/clear/get/list UserData of a Client.
Author:
joe
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • execute

      public ClientResponse execute(WorldManager worldManager, Client client) throws Exception
      Specified by:
      execute in interface Command
      Throws:
      Exception
    • getAction

      public String getAction()
      list/get/set/clear
    • getKey

      public String getKey()
      used in get/set/clear
    • getValue

      public String getValue()
      used in set only
    • setAction

      public void setAction(String action)
      list/get/set/clear
    • setKey

      public void setKey(String key)
      used in get/set/clear
    • setValue

      public void setValue(String value)
      used in set only
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object