Class SynonymsKey

java.lang.Object
com.orchestranetworks.search.strategy.SynonymsKey

public final class SynonymsKey extends Object
Identifies a Synonyms list.
Since:
6.0.0
  • Method Details

    • parse

      public static SynonymsKey parse(String aString)
      Throws:
      IllegalArgumentException - if the specified key does not match the regular expression ([-\\d\\pL:_.]*)@?(%?[-\\d\\pL:_. /]+).
    • getModuleName

      public String getModuleName()
    • getModel

      public String getModel()
      Returns the name of the data model to which the synonyms list belongs, or null if the list does not belong to a specific model.
    • format

      public String format()
      Returns a persistent identifier for this service key.

      The strategy key can be re-obtained by parsing this persistent identifier using the method parse(String).

    • getName

      public String getName()
    • hashCode

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

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