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 */
021package org.biojava.nbio.structure;
022
023import java.io.Serializable;
024
025/**
026 * Created by andreas on 9/11/15.
027 */
028public class SeqMisMatchImpl implements SeqMisMatch, Serializable{
029
030        private static final long serialVersionUID = -3699285122925652562L;
031
032        Integer seqNum;
033        String origGroup;
034        String pdbGroup;
035        String details;
036        String uniProtId;
037        String insCode;
038        String pdbResNum;
039
040        @Override
041        public Integer getSeqNum() {
042                return seqNum;
043        }
044
045        @Override
046        public void setSeqNum(Integer seqNum) {
047                this.seqNum = seqNum;
048        }
049
050        @Override
051        public String getOrigGroup() {
052                return origGroup;
053        }
054
055        @Override
056        public void setOrigGroup(String origGroup) {
057                this.origGroup = origGroup;
058        }
059
060        @Override
061        public String getPdbGroup() {
062                return pdbGroup;
063        }
064
065        @Override
066        public void setPdbGroup(String pdbGroup) {
067                this.pdbGroup = pdbGroup;
068        }
069
070        @Override
071        public String getDetails() {
072                return details;
073        }
074
075        @Override
076        public void setDetails(String details) {
077                this.details = details;
078        }
079
080        @Override
081        public String getUniProtId() {
082                return uniProtId;
083        }
084
085        @Override
086        public void setUniProtId(String uniProtId) {
087                this.uniProtId = uniProtId;
088        }
089
090        @Override
091        public String getInsCode() {
092                return insCode;
093        }
094
095        @Override
096        public void setInsCode(String insCode) {
097                this.insCode = insCode;
098        }
099
100        @Override
101        public String getPdbResNum() {
102                return pdbResNum;
103        }
104
105        @Override
106        public void setPdbResNum(String pdbResNum) {
107                this.pdbResNum = pdbResNum;
108        }
109
110        @Override
111        public String toString() {
112                StringBuffer  s = new StringBuffer();
113
114                s.append("SeqMisMatchImpl{");
115                s.append("seqNum=" );
116                s.append(seqNum );
117                s.append(", origGroup='" );
118                s.append(origGroup + '\'' );
119                s.append(", pdbGroup='" );
120                s.append(pdbGroup + '\'' );
121                s.append(", details='" );
122                s.append(details + '\'' );
123                s.append(", uniProtId='" );
124                s.append(uniProtId + '\'' );
125                s.append(", pdbResNum='" );
126                s.append(pdbResNum + '\'' );
127
128                if ( insCode == null)
129                        s.append(", insCode=null ") ;
130                else
131                        s.append(", insCode='" + insCode + '\'') ;
132
133                s.append('}');
134                return s.toString();
135
136        }
137}