Class TermKey
- java.lang.Object
-
- com.inductiveautomation.ignition.common.i18n.translation.TermKey
-
- All Implemented Interfaces:
java.io.Serializable
public class TermKey extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getComputedHash()
java.lang.String
getSourceTerm()
int
hashCode()
void
setComputedHash(int value)
void
setSourceTerm(java.lang.String value)
-
-
-
Method Detail
-
getSourceTerm
public java.lang.String getSourceTerm()
-
setSourceTerm
public void setSourceTerm(java.lang.String value)
-
getComputedHash
public int getComputedHash()
-
setComputedHash
public void setComputedHash(int value)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-