X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FDBRefEntryI.java;h=b927fa5e4effd3e861cd31731cb20b783c97a921;hb=57ea736ced3c474a9e8e8bc2de1a15a220384e93;hp=32387813a65dae73e9aa880cef1f6eb9fc246e8c;hpb=a21b84a669a9620f6943b9b5054e8756cb6f0687;p=jalview.git diff --git a/src/jalview/api/DBRefEntryI.java b/src/jalview/api/DBRefEntryI.java index 3238781..b927fa5 100644 --- a/src/jalview/api/DBRefEntryI.java +++ b/src/jalview/api/DBRefEntryI.java @@ -5,23 +5,68 @@ public interface DBRefEntryI { public boolean equalRef(DBRefEntryI entry); + /** + * + * @return Source DB name for this entry + */ public String getSource(); - public String getVersion(); - + /** + * + * @return Accession Id for this entry + */ public String getAccessionId(); + /** + * + * @param accessionId + * Accession Id for this entry + */ public void setAccessionId(String accessionId); + /** + * + * @param source + * Source DB name for this entry + */ public void setSource(String source); + /** + * + * @return Source DB version for this entry + */ + public String getVersion(); + + /** + * + * @param version + * Source DB version for this entry + */ public void setVersion(String version); + /** + * + * @param startRes + * index of start residue in the source DB + */ public void setStartRes(int startRes); + /** + * + * @return index of start residue in the source DB + */ public int getStartRes(); + /** + * + * @param endRes + * index of end residue in the source DB + */ public void setEndRes(int endRes); + /** + * + * @return index of end residue in the source DB + */ public int getEndRes(); }