001/*
002 * BioJava development code
003 *
004 * This code may be freely distributed and modified under the
005 * terms of the GNU Lesser General Public Licence.  This should
006 * be distributed with the code.  If you do not have a copy,
007 * see:
008 *
009 *      http://www.gnu.org/copyleft/lesser.html
010 *
011 * Copyright for this code is held jointly by the individual
012 * authors.  These should be listed in @author doc comments.
013 *
014 * For more information on the BioJava project and its aims,
015 * or to join the biojava-l mailing list, visit the home page
016 * at:
017 *
018 *      http://www.biojava.org/
019 *
020 * Author: Daniel Asarnow
021 * Date:   2012-7-23
022 */
023
024package org.biojava.nbio.structure.cath;
025
026import java.io.Serializable;
027
028/**
029 * @author Daniel Asarnow
030 */
031public class CathFragment implements Serializable{
032
033        public static final long serialVersionUID = 1L;
034
035        /**
036         * The number of this segment within the domain.
037         */
038        Integer fragmentId;
039
040        /**
041         * The first residue in the segment.
042         * Refers to the complete residue specification (sequence number AND insertion code).
043         */
044        String start;
045
046         /**
047         * The last residue in the segment.
048         * Refers to the complete residue specification (sequence number AND insertion code).
049         */
050        String stop;
051
052        /**
053         * Number of residues in the segment. This value is parsed, not calculated.
054         */
055        Integer length;
056
057        public Integer getFragmentId() {
058                return fragmentId;
059        }
060
061        public void setFragmentId(Integer fragmentId) {
062                this.fragmentId = fragmentId;
063        }
064
065        public String getStart() {
066                return start;
067        }
068
069        public void setStart(String start) {
070                this.start = start;
071        }
072
073        public String getStop() {
074                return stop;
075        }
076
077        public void setStop(String stop) {
078                this.stop = stop;
079        }
080
081        public Integer getLength() {
082                return length;
083        }
084
085        public void setLength(Integer length) {
086                this.length = length;
087        }
088}