Class Domain
- java.lang.Object
-
- org.biojava.nbio.structure.domain.pdp.Domain
-
- All Implemented Interfaces:
Serializable
,Comparable<Domain>
public class Domain extends Object implements Comparable<Domain>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Domain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Domain other)
String
getId()
int
getNseg()
double
getScore()
Segment
getSegmentAtPos(int pos)
List<Segment>
getSegments()
int
getSize()
void
setId(String id)
void
setNseg(int nseg)
void
setScore(double score)
void
setSegments(List<Segment> segments)
void
setSize(int size)
String
toString()
-
-
-
Constructor Detail
-
Domain
public Domain()
-
-
Method Detail
-
getSegments
public List<Segment> getSegments()
-
getSegmentAtPos
public Segment getSegmentAtPos(int pos)
-
compareTo
public int compareTo(Domain other)
- Specified by:
compareTo
in interfaceComparable<Domain>
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
getNseg
public int getNseg()
-
setNseg
public void setNseg(int nseg)
-
getScore
public double getScore()
-
setScore
public void setScore(double score)
-
setSegments
public void setSegments(List<Segment> segments)
-
-