JAL-1793 update spike branch to latest
[jalview.git] / src / jalview / datamodel / features / FeatureMatcherI.java
index 07b060c..f1f8585 100644 (file)
@@ -43,9 +43,23 @@ public interface FeatureMatcherI
   boolean isByScore();
 
   /**
+   * Answers true if match is against a feature attribute (text or range)
+   * 
+   * @return
+   */
+  boolean isByAttribute();
+
+  /**
    * Answers the match condition that is applied
    * 
    * @return
    */
   MatcherI getMatcher();
+
+  /**
+   * Answers a string representation of this object suitable for use when
+   * persisting data, in a format that can be reliably read back. Any changes to
+   * the format should be backwards compatible.
+   */
+  String toStableString();
 }