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 at Mar 4, 2008
021 */
022package org.biojava.nbio.structure.io.mmcif.model;
023
024/** A simple class to represent Entity records in mmCif files
025 *
026 * @author Andreas Prlic
027 *
028 */
029public class Entity {
030        String id;
031
032        String type;
033        String src_method;
034        String pdbx_description;
035        String formula_weight;
036        String pdbx_number_of_molecules;
037        String details;
038        String pdbx_mutation;
039        String pdbx_fragment;
040        String pdbx_ec;
041
042        @Override
043        public String toString(){
044                StringBuffer buf = new StringBuffer();
045
046        buf.append("Entity - id:").append(id);
047
048        buf.append(" type:").append(type);
049        buf.append(" src_method:").append(src_method);
050        buf.append(" pdbx_description:").append(pdbx_description);
051        buf.append(" formula_weight:").append(formula_weight);
052        buf.append(" pdbx_number_f_molecules:").append(pdbx_number_of_molecules);
053        buf.append(" details:").append(details);
054        buf.append(" pdbx_mutation:").append(pdbx_mutation);
055        buf.append(" pdbx_fragment:").append(pdbx_fragment);
056        buf.append(" pdbx_ec:").append(pdbx_ec);
057
058                return buf.toString();
059        }
060        public String getId() {
061                return id;
062        }
063        public void setId(String id) {
064                this.id = id;
065        }
066
067        public String getType() {
068                return type;
069        }
070        public void setType(String type) {
071                this.type = type;
072        }
073        public String getSrc_method() {
074                return src_method;
075        }
076        public void setSrc_method(String src_method) {
077                this.src_method = src_method;
078        }
079        public String getPdbx_description() {
080                return pdbx_description;
081        }
082        public void setPdbx_description(String pdbx_description) {
083                this.pdbx_description = pdbx_description;
084        }
085        public String getFormula_weight() {
086                return formula_weight;
087        }
088        public void setFormula_weight(String formula_weight) {
089                this.formula_weight = formula_weight;
090        }
091        public String getPdbx_number_of_molecules() {
092                return pdbx_number_of_molecules;
093        }
094        public void setPdbx_number_of_molecules(String pdbx_number_of_molecules) {
095                this.pdbx_number_of_molecules = pdbx_number_of_molecules;
096        }
097        public String getDetails() {
098                return details;
099        }
100        public void setDetails(String details) {
101                this.details = details;
102        }
103        public String getPdbx_mutation() {
104                return pdbx_mutation;
105        }
106        public void setPdbx_mutation(String pdbx_mutation) {
107                this.pdbx_mutation = pdbx_mutation;
108        }
109        public String getPdbx_fragment() {
110                return pdbx_fragment;
111        }
112        public void setPdbx_fragment(String pdbx_fragment) {
113                this.pdbx_fragment = pdbx_fragment;
114        }
115        public String getPdbx_ec() {
116                return pdbx_ec;
117        }
118        public void setPdbx_ec(String pdbx_ec) {
119                this.pdbx_ec = pdbx_ec;
120        }
121
122
123}