Class UserCommand

Object
UserCommand
All Implemented Interfaces:
Serializable, Ownage

@Entity public class UserCommand extends Object implements Serializable, Ownage
Author:
maartenl
See Also:
  • Constructor Details

    • UserCommand

      public UserCommand()
    • UserCommand

      public UserCommand(Integer id)
    • UserCommand

      public UserCommand(Integer id, String command, LocalDateTime creation)
  • Method Details

    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • getCallable

      public Boolean getCallable()
    • setCallable

      public void setCallable(Boolean callable)
    • getCommand

      public String getCommand()
    • setCommand

      public void setCommand(String command)
    • getRoom

      public Room getRoom()
    • setRoom

      public void setRoom(Room room)
    • getCreation

      public LocalDateTime getCreation()
    • setCreation

      public void setCreation(LocalDateTime creation)
    • getOwner

      public Admin getOwner()
      Description copied from interface: Ownage
      Retrieves the owner, the administrator, of this object. In case this is null, anyone can edit the object.
      Specified by:
      getOwner in interface Ownage
      Returns:
    • setOwner

      public void setOwner(Admin owner)
      Description copied from interface: Ownage
      Sets the owner, the administrator, of this object.
      Specified by:
      setOwner in interface Ownage
      Parameters:
      owner - the owner/administrator of the object. In case this is null, which is allowed, any administrator can edit this object. This is what happens when an object is "disowned".
    • getMethodName

      public Method getMethodName()
    • setMethodName

      public void setMethodName(Method methodName)
    • hashCode

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object