Class DistinctAttributes

  • All Implemented Interfaces:
    IssueDescriptor

    public class DistinctAttributes
    extends Object
    implements IssueDescriptor
    Represents an exception for the typo check. Basically stating that the two attributes are not typos of each other, but actually different values.
    Author:
    Hendrik Schreiber
    • Constructor Detail

      • DistinctAttributes

        public DistinctAttributes()
      • DistinctAttributes

        public DistinctAttributes​(String attribute1,
                                  String attribute2)
    • Method Detail

      • getAttribute1

        public String getAttribute1()
      • setAttribute1

        public void setAttribute1​(String attribute1)
      • getAttribute2

        public String getAttribute2()
      • setAttribute2

        public void setAttribute2​(String attribute2)
      • match

        public boolean match​(String string1,
                             String string2)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object