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 * Created on Jun 30, 2010
021 * Author: ap3
022 *
023 */
024
025package org.biojava.nbio.structure.scop;
026
027import javax.xml.bind.annotation.XmlAccessType;
028import javax.xml.bind.annotation.XmlAccessorType;
029import javax.xml.bind.annotation.XmlRootElement;
030import java.io.Serializable;
031import java.util.List;
032
033@XmlRootElement(name = "ScopNode", namespace ="http://source.rcsb.org")
034@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
035public class ScopNode implements Serializable
036{
037
038        /**
039         *
040         */
041        private static final long serialVersionUID = 1187083944488580995L;
042
043        int sunid;
044        int parentSunid;
045        List<Integer> children;
046
047        public ScopNode(){
048
049        }
050
051
052
053        @Override
054        public String toString()
055        {
056                return "ScopNode [children=" + children + ", parentSunid=" + parentSunid + ", sunid=" + sunid + "]";
057        }
058
059
060
061        public int getSunid()
062        {
063                return sunid;
064        }
065        public void setSunid(int sunid)
066        {
067                this.sunid = sunid;
068        }
069        public int getParentSunid()
070        {
071                return parentSunid;
072        }
073        public void setParentSunid(int parentSunid)
074        {
075                this.parentSunid = parentSunid;
076        }
077        public List<Integer> getChildren()
078        {
079                return children;
080        }
081        public void setChildren(List<Integer> children)
082        {
083                this.children = children;
084        }
085
086
087}