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.io.mmcif.model;
022
023import javax.xml.bind.annotation.XmlAccessType;
024import javax.xml.bind.annotation.XmlAccessorType;
025import javax.xml.bind.annotation.XmlAttribute;
026import javax.xml.bind.annotation.XmlElement;
027import java.io.Serializable;
028
029/**
030 * The bean for pdbx_struct_oper_list category
031 * <pre>
032 * _pdbx_struct_oper_list.id
033 * _pdbx_struct_oper_list.type
034 * _pdbx_struct_oper_list.symmetry_operation
035 * _pdbx_struct_oper_list.matrix[1][1]
036 * _pdbx_struct_oper_list.matrix[1][2]
037 * _pdbx_struct_oper_list.matrix[1][3]
038 * _pdbx_struct_oper_list.vector[1]
039 * _pdbx_struct_oper_list.matrix[2][1]
040 * _pdbx_struct_oper_list.matrix[2][2]
041 * _pdbx_struct_oper_list.matrix[2][3]
042 * _pdbx_struct_oper_list.vector[2]
043 * _pdbx_struct_oper_list.matrix[3][1]
044 * _pdbx_struct_oper_list.matrix[3][2]
045 * _pdbx_struct_oper_list.matrix[3][3]
046 * _pdbx_struct_oper_list.vector[3]
047 * _pdbx_struct_oper_list.name
048 * </pre>
049 */
050@XmlAccessorType(XmlAccessType.PROPERTY)
051public class PdbxStructOperList implements Serializable{
052
053
054        private static final long serialVersionUID = 8933552854747969787L;
055
056        @Override
057        public String toString() {
058                return "PdbxStructOperList [id=" + id + ", type=" + type + "]";
059        }
060
061
062        private String id;
063
064        private String type;
065
066        private String symmetry_operation;
067
068        @CIFLabel(label="matrix[1][1]")
069        String matrix11;
070        @CIFLabel(label="matrix[1][2]")
071        String matrix12;
072        @CIFLabel(label="matrix[1][3]")
073        String matrix13;
074
075        @CIFLabel(label="vector[1]")
076        String vector1;
077
078        @CIFLabel(label="matrix[2][1]")
079        String matrix21;
080        @CIFLabel(label="matrix[2][2]")
081        String matrix22;
082        @CIFLabel(label="matrix[2][3]")
083        String matrix23;
084
085        @CIFLabel(label="vector[2]")
086        String vector2;
087
088        @CIFLabel(label="matrix[3][1]")
089        String matrix31;
090        @CIFLabel(label="matrix[3][2]")
091        String matrix32;
092        @CIFLabel(label="matrix[3][3]")
093        String matrix33;
094
095        @CIFLabel(label="vector[3]")
096        String vector3;
097
098        String name;
099
100
101        // from here fields that are not in the cif category
102
103
104        public PdbxStructOperList(){
105
106        }
107
108        @XmlAttribute
109        public String getType() {
110                return type;
111        }
112
113        public void setType(String type) {
114                this.type = type;
115        }
116
117        @XmlAttribute
118        public String getId() {
119                return id;
120        }
121
122        public void setId(String id) {
123                this.id = id;
124        }
125
126        public void setMatrix11(String val){
127                this.matrix11 = val;
128        }
129        public void setMatrix21(String val){
130                this.matrix21 = val;
131        }
132        public void setMatrix31(String val){
133                this.matrix31 = val;
134        }
135
136        public void setMatrix12(String val){
137                this.matrix12 = val;
138        }
139        public void setMatrix22(String val){
140                this.matrix22 = val;
141        }
142        public void setMatrix32(String val){
143                this.matrix32 = val;
144        }
145        public void setMatrix13(String val){
146                this.matrix13 = val;
147        }
148        public void setMatrix23(String val){
149                this.matrix23 = val;
150        }
151        public void setMatrix33(String val){
152                this.matrix33 =val;
153        }
154
155        public void setName(String name) {
156                this.name = name;
157        }
158
159        public String getVector1() {
160                return vector1;
161        }
162        public void setVector1(String vector1) {
163                this.vector1 = vector1;
164        }
165        public String getVector2() {
166                return vector2;
167        }
168        public void setVector2(String vector2) {
169                this.vector2 = vector2;
170        }
171        public String getVector3() {
172                return vector3;
173        }
174        public void setVector3(String vector3) {
175                this.vector3 = vector3;
176        }
177        public String getName() {
178                return name;
179        }
180        public String getSymmetry_operation() {
181                return symmetry_operation;
182        }
183        public void setSymmetry_operation(String symmetry_operation) {
184                this.symmetry_operation = symmetry_operation;
185        }
186        @XmlElement
187        public String getMatrix11(){
188                return matrix11;
189        }
190        @XmlElement
191        public String getMatrix21(){
192                return matrix21;
193        }
194        @XmlElement
195        public String getMatrix31(){
196                return matrix31;
197        }
198        @XmlElement
199        public String getMatrix12(){
200                return matrix12;
201        }
202        @XmlElement
203        public String getMatrix22(){
204                return matrix22;
205        }
206        @XmlElement
207        public String getMatrix32(){
208                return matrix32;
209        }
210        @XmlElement
211        public String getMatrix13(){
212                return matrix13;
213        }
214        @XmlElement
215        public String getMatrix23(){
216                return matrix23;
217        }
218        @XmlElement
219        public String getMatrix33(){
220                return matrix33;
221        }
222}