Beispiel #1
0
 /** Returns a String representation of this object that can be used to reconstruct it. */
 @Override
 public String toString() {
   return KeywordGroup.ID
       + StringUtil.quote(name, AbstractGroup.SEPARATOR, AbstractGroup.QUOTE_CHAR)
       + AbstractGroup.SEPARATOR
       + context.ordinal()
       + AbstractGroup.SEPARATOR
       + StringUtil.quote(searchField, AbstractGroup.SEPARATOR, AbstractGroup.QUOTE_CHAR)
       + AbstractGroup.SEPARATOR
       + StringUtil.quote(searchExpression, AbstractGroup.SEPARATOR, AbstractGroup.QUOTE_CHAR)
       + AbstractGroup.SEPARATOR
       + StringUtil.booleanToBinaryString(caseSensitive)
       + AbstractGroup.SEPARATOR
       + StringUtil.booleanToBinaryString(regExp)
       + AbstractGroup.SEPARATOR;
 }