java.lang.Object
com.inductiveautomation.ignition.common.i18n.translation.TermKey
All Implemented Interfaces:
Serializable

public class TermKey extends Object implements Serializable
This class lets us map source strings to hash table results using different types of rules. For example, we may choose to ignore case or not. This works by having the source, plus a hash code computed based on our desired set of rules.
See Also:
  • Constructor Details

    • TermKey

      public TermKey()
      For serialization
    • TermKey

      public TermKey(String originalTerm, String adapted)
    • TermKey

      public TermKey(String originalTerm, int hashCode)
  • Method Details

    • getSourceTerm

      public String getSourceTerm()
    • setSourceTerm

      public void setSourceTerm(String value)
    • getComputedHash

      public int getComputedHash()
    • setComputedHash

      public void setComputedHash(int value)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object