inprogress
[jalview.git] / forester / ruby / evoruby / lib / evo / sequence / protein_domain.rb
1 #
2 # = lib/evo/sequence/protein_domain.rb - ProteinDomain class
3 #
4 # Copyright::  Copyright (C) 2006-2007 Christian M. Zmasek
5 # License::    GNU Lesser General Public License (LGPL)
6 #
7 # $Id: protein_domain.rb,v 1.2 2007/06/12 04:51:33 cmzmasek Exp $
8 #
9 # last modified: 05/16/2007
10
11 module Evoruby
12
13     class ProteinDomain
14
15         def initialize( name, from, to, id, confidence )
16             @name       = String.new( name )
17             @from       = from
18             @to         = to
19             @id         = String.new( id )
20             @confidence = confidence
21         end
22
23         def get_name()
24             return @name
25         end
26
27         def get_from()
28             return @from
29         end
30
31         def get_to()
32             return @to
33         end
34
35         def get_id()
36             return @id
37         end
38
39         def get_confidence()
40             return @confidence
41         end
42
43     end # class ProteinDomain
44
45 end # module Evoruby