Class CMISAPI.ChangeToken

    • Field Detail

      • token

        protected final String token
        The token.
      • order

        protected final Long order
        The order.
    • Constructor Detail

      • ChangeToken

        protected ChangeToken​(String token)
        Instantiates a new change token.
        Parameters:
        token - the token
    • Method Detail

      • equals

        public boolean equals​(CMISAPI.ChangeToken other)
        Compare this token with the given and return true if they are equal, false otherwise. Empty tokens aren't equal.
        Parameters:
        other - CMISAPI.ChangeToken
        Returns:
        boolean true if tokens equal, false otherwise
      • isEmpty

        public boolean isEmpty()
        Return true if this token doesn't describe any change token, thus it equals no null or no token value.
        Returns:
        boolean
      • getString

        public String getString()
        String representation of change log token.
        Returns:
        the token string
      • compareTo

        protected int compareTo​(CMISAPI.ChangeToken other)
        Compare to.
        Parameters:
        other - the other
        Returns:
        the int