File tree Expand file tree Collapse file tree 10 files changed +16
-18
lines changed
biojava-structure/src/main/java/org/biojava/nbio/structure Expand file tree Collapse file tree 10 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 2323 */
2424package org .biojava .nbio .structure ;
2525
26- import java .io .Serializable ;
27-
2826/**
2927 * AminoAcid inherits most from Hetatom. Adds a few AminoAcid
3028 * specific methods.
3432 * @version %I% %G%
3533 *
3634 */
37- public class AminoAcidImpl extends HetatomImpl implements AminoAcid , Serializable {
35+ public class AminoAcidImpl extends HetatomImpl implements AminoAcid {
3836
3937 private static final long serialVersionUID = -6018854413829044230L ;
4038
Original file line number Diff line number Diff line change 2323 */
2424package org .biojava .nbio .structure ;
2525
26+ import java .io .Serializable ;
2627import java .util .List ;
2728
2829import javax .vecmath .Point3d ;
4142 * @since 1.4
4243 *
4344 */
44- public interface Atom extends Cloneable , PDBRecord {
45+ public interface Atom extends Cloneable , PDBRecord , Serializable {
4546
4647 /**
4748 * Set atom name, e.g. "CA".
Original file line number Diff line number Diff line change 2525
2626import org .biojava .nbio .structure .io .FileConvert ;
2727
28- import java .io .Serializable ;
2928import java .util .ArrayList ;
3029import java .util .List ;
3130
3938 * @since 1.4
4039 * @version %I% %G%
4140 */
42- public class AtomImpl implements Atom , Serializable , PDBRecord {
41+ public class AtomImpl implements Atom , PDBRecord {
4342
4443 private static final long serialVersionUID = -2258364127420562883L ;
4544
Original file line number Diff line number Diff line change 2020 */
2121package org .biojava .nbio .structure ;
2222
23+ import java .io .Serializable ;
24+
2325/**
2426 * A simple bond -- it stores information about two atoms as well as information
2527 * about its bond order.
2628 *
2729 * @author Jules Jacobsen <jacobsen@ebi.ac.uk>
2830 * @author Ulysse Carion
2931 */
30- public interface Bond {
32+ public interface Bond extends Serializable {
3133
3234 /**
3335 * Gets atom 'A' of this bond. There is no meaning to which atom is 'A' and
Original file line number Diff line number Diff line change 2020 */
2121package org .biojava .nbio .structure ;
2222
23- import java .io .Serializable ;
2423import java .util .ArrayList ;
2524import java .util .List ;
2625
3130 * @author Jules Jacobsen <jacobsen@ebi.ac.uk>
3231 * @author Ulysse Carion
3332 */
34- public class BondImpl implements Serializable , Bond {
33+ public class BondImpl implements Bond {
3534
3635 private static final long serialVersionUID = 8836120946858134380L ;
3736 private Atom atomA ;
Original file line number Diff line number Diff line change 2727import org .biojava .nbio .structure .io .FileParsingParameters ;
2828import org .biojava .nbio .structure .io .mmcif .model .ChemComp ;
2929
30+ import java .io .Serializable ;
3031import java .util .List ;
3132
3233/**
4849 * @version %I% %G%
4950 * @since 1.4
5051 */
51- public interface Chain {
52+ public interface Chain extends Serializable {
5253
5354 /** returns an identical copy of this Chain.
5455 * @return an identical copy of this Chain
Original file line number Diff line number Diff line change 2525
2626import org .biojava .nbio .structure .io .mmcif .model .ChemComp ;
2727
28+ import java .io .Serializable ;
2829import java .util .Iterator ;
2930import java .util .List ;
3031import java .util .Map ;
5152 * @version %I% %G%
5253 *
5354 */
54- public interface Group {
55+ public interface Group extends Serializable {
5556
5657 /** Group property key for secondary structure annotation */
5758 public static final String SEC_STRUC = "secstruc" ;
Original file line number Diff line number Diff line change 3131import org .slf4j .Logger ;
3232import org .slf4j .LoggerFactory ;
3333
34- import java .io .Serializable ;
3534import java .util .*;
3635
3736/**
4544 * @version %I% %G%
4645 * @since 1.4
4746 */
48- public class HetatomImpl implements Group , Serializable {
47+ public class HetatomImpl implements Group {
4948
5049 private static final Logger logger = LoggerFactory .getLogger (HetatomImpl .class );
5150
Original file line number Diff line number Diff line change 2222 *
2323 */
2424package org .biojava .nbio .structure ;
25- import java .io .Serializable ;
26-
27-
2825
2926/**
3027 * A nucleotide group is almost the same as a Hetatm group.
3431 * @since 1.4
3532 * @version %I% %G%
3633 */
37- public class NucleotideImpl extends HetatomImpl implements Group , Serializable , Cloneable {
34+ public class NucleotideImpl extends HetatomImpl implements Group , Cloneable {
3835
3936 private static final long serialVersionUID = -7467726932980288712L ;
4037 /** this is a "nucleotide", a special occurance of a Hetatom. */
Original file line number Diff line number Diff line change 2626import org .biojava .nbio .structure .io .FileConvert ;
2727import org .biojava .nbio .structure .io .PDBFileReader ;
2828
29+ import java .io .Serializable ;
2930import java .util .List ;
3031
3132
165166 * @since 1.4
166167 * @version %I% %G%
167168 */
168- public interface Structure extends Cloneable {
169+ public interface Structure extends Cloneable , Serializable {
169170
170171
171172 /**
You can’t perform that action at this time.
0 commit comments