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:
  • Constructor Details

    • Domain

      public Domain()
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSegments

      public List<Segment> getSegments()
    • getSegmentAtPos

      public Segment getSegmentAtPos(int pos)
    • compareTo

      public int compareTo(Domain other)
      Specified by:
      compareTo in interface Comparable<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)