Class Token

    • Constructor Detail

      • Token

        public Token()
      • Token

        public Token​(String tokenName,
                     long processId,
                     String nodeName,
                     boolean finished,
                     boolean locked,
                     boolean suspended)
      • Token

        public Token​(long processId,
                     boolean finished,
                     boolean locked,
                     boolean suspended)
      • Token

        public Token​(Token otherBean)
    • Method Detail

      • getTokenName

        public String getTokenName()
        Gets value for attribute tokenName
      • setTokenName

        public void setTokenName​(String tokenName)
        Sets value for attribute tokenName
      • getProcessId

        public long getProcessId()
        Gets value for attribute processId
      • setProcessId

        public void setProcessId​(long processId)
        Sets value for attribute processId
      • getNodeName

        public String getNodeName()
        Gets value for attribute nodeName
      • setNodeName

        public void setNodeName​(String nodeName)
        Sets value for attribute nodeName
      • isFinished

        public boolean isFinished()
        Gets value for attribute finished
      • setFinished

        public void setFinished​(boolean finished)
        Sets value for attribute finished
      • isLocked

        public boolean isLocked()
        Gets value for attribute locked
      • setLocked

        public void setLocked​(boolean locked)
        Sets value for attribute locked
      • isSuspended

        public boolean isSuspended()
        Gets value for attribute suspended
      • setSuspended

        public void setSuspended​(boolean suspended)
        Sets value for attribute suspended
      • toString

        public String toString()
        Returns a string representation of the value object.
        Overrides:
        toString in class Object
      • toToken

        public static Token toToken​(Token vo)
        Creates a Token value object based on a Token object.
      • toTokenList

        public static List<Token> toTokenList​(Collection<Token> source)
        Creates a Token list on a Token collection.
      • toTokenAsyncList

        public static AsyncList<Token> toTokenAsyncList​(AsyncList<Token> source)
        Creates a Token asynclist on a Token collection.
      • toTokenArray

        public static Token[] toTokenArray​(Token[] source)
        Creates a Token array on a Token array.
      • toToken

        public static void toToken​(Token source,
                                   Token target)
        Updates a Token value object based on a Token object.