Class Statement

    • Constructor Detail

      • Statement

        public Statement()
      • Statement

        public Statement​(String value,
                         boolean transactional)
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Overrides the Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getContent

        public String getContent()
        Returns the value of field 'content'. The field 'content' has the following description: internal content storage
        Returns:
        the value of field 'Content'.
      • getTransactional

        public boolean getTransactional()
        Returns the value of field 'transactional'.
        Returns:
        the value of field 'Transactional'.
      • hashCode

        public int hashCode()
        Overrides the Object.hashCode method.

        The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3

        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for the object.
      • isTransactional

        public boolean isTransactional()
        Returns the value of field 'transactional'.
        Returns:
        the value of field 'Transactional'.
      • setContent

        public void setContent​(String content)
        Sets the value of field 'content'. The field 'content' has the following description: internal content storage
        Parameters:
        content - the value of field 'content'.
      • setTransactional

        public void setTransactional​(boolean transactional)
        Sets the value of field 'transactional'.
        Parameters:
        transactional - the value of field 'transactional'.