JAL-2393 code tidy and comments, PIDDistanceModel deprecated
[jalview.git] / src / jalview / api / analysis / ScoreModelI.java
1 package jalview.api.analysis;
2
3 public interface ScoreModelI
4 {
5   /**
6    * Answers a name for the score model, suitable for display in menus. Names
7    * should be unique across score models in use.
8    * 
9    * @return
10    * @see jalview.analysis.scoremodels.ScoreModels#forName(String)
11    */
12   String getName();
13
14   /**
15    * Answers true if this model is applicable for nucleotide data (so should be
16    * shown in menus in that context)
17    * 
18    * @return
19    */
20   boolean isDNA();
21
22   /**
23    * Answers true if this model is applicable for peptide data (so should be
24    * shown in menus in that context)
25    * 
26    * @return
27    */
28   boolean isProtein();
29
30 }