Class TaskModel

    • Constructor Detail

      • TaskModel

        public TaskModel()
    • Method Detail

      • getId

        public Integer getId()
        Task ID
        Returns:
        ID
      • setId

        public TaskModel setId​(Integer id)
        Set the ID
        Parameters:
        id - ID
        Returns:
        fluent API
      • getName

        public String getName()
        Task name
        Returns:
        name
      • setName

        public TaskModel setName​(String name)
        Set the name
        Parameters:
        name - name
        Returns:
        fluent API
      • getDescription

        public String getDescription()
        Task description
        Returns:
        description
      • setDescription

        public TaskModel setDescription​(String description)
        Set the description
        Parameters:
        description - description
        Returns:
        fluent API
      • getCommand

        public String getCommand()
        Task command
        Returns:
        command
      • setCommand

        public TaskModel setCommand​(String command)
        Set the command
        Parameters:
        command - command
        Returns:
        fluent API
      • getInternal

        public Boolean getInternal()
        True for internal tasks, false for external tasks
        Returns:
        flag
      • setInternal

        public TaskModel setInternal​(Boolean internal)
        Set the internal flag
        Parameters:
        internal - flag
        Returns:
        fluent API
      • getCreator

        public User getCreator()
        Task creator
        Returns:
        creator
      • setCreator

        public TaskModel setCreator​(User creator)
        Set the creator
        Parameters:
        creator - creator
        Returns:
        fluent API
      • getCdate

        public int getCdate()
        Task creation timestamp
        Returns:
        creation timestamp
      • setCdate

        public TaskModel setCdate​(int cdate)
        Set the creation timestamp
        Parameters:
        cdate - timestamp
        Returns:
        fluent API
      • getEditor

        public User getEditor()
        Last task editor
        Returns:
        editor
      • setEditor

        public TaskModel setEditor​(User editor)
        Set the editor
        Parameters:
        editor - editor
        Returns:
        fluent API
      • getEdate

        public int getEdate()
        Last task edit timestamp
        Returns:
        edit timestamp
      • setEdate

        public TaskModel setEdate​(int edate)
        Set the edit timestamp
        Parameters:
        edate - timestamp
        Returns:
        fluent API