c2a09b9dbae57af44cfc39e41985d0eacd9d5701
[jalview.git] / forester / java / src / org / forester / protein / Domain.java
1 // $Id:
2 //
3 // FORESTER -- software libraries and applications
4 // for evolutionary biology research and applications.
5 //
6 // Copyright (C) 2008-2009 Christian M. Zmasek
7 // Copyright (C) 2008-2009 Burnham Institute for Medical Research
8 // All rights reserved
9 //
10 // This library is free software; you can redistribute it and/or
11 // modify it under the terms of the GNU Lesser General Public
12 // License as published by the Free Software Foundation; either
13 // version 2.1 of the License, or (at your option) any later version.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 //
24 // Contact: phylosoft @ gmail . com
25 // WWW: www.phylosoft.org/forester
26
27 package org.forester.protein;
28
29 import org.forester.go.GoId;
30
31 public interface Domain extends Comparable<Domain> {
32
33     public void addGoId( GoId go_id );
34
35     public DomainId getDomainId();
36
37     public int getLength();
38
39     public int getFrom();
40
41     public GoId getGoId( int i );
42
43     public short getNumber();
44
45     public int getNumberOfGoIds();
46
47     public double getPerDomainEvalue();
48
49     public double getPerDomainScore();
50
51     public double getPerSequenceEvalue();
52
53     public double getPerSequenceScore();
54
55     public int getTo();
56
57     public short getTotalCount();
58 }