git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2015 JAL-1956 rollout of FeatureColourI in place of
[jalview.git]
/
src
/
jalview
/
datamodel
/
PDBEntry.java
diff --git
a/src/jalview/datamodel/PDBEntry.java
b/src/jalview/datamodel/PDBEntry.java
index
d0cef5d
..
589bc7b
100755
(executable)
--- a/
src/jalview/datamodel/PDBEntry.java
+++ b/
src/jalview/datamodel/PDBEntry.java
@@
-36,6
+36,7
@@
public class PDBEntry
{
PDB, FILE
}
{
PDB, FILE
}
+
Hashtable properties;
/*
Hashtable properties;
/*
@@
-55,9
+56,8
@@
public class PDBEntry
return true;
}
PDBEntry o = (PDBEntry) obj;
return true;
}
PDBEntry o = (PDBEntry) obj;
- return
- (type == o.type || (type != null && o.type != null && o.type
- .equals(type)))
+ return (type == o.type || (type != null && o.type != null && o.type
+ .equals(type)))
&& (id == o.id || (id != null && o.id != null && o.id
.equalsIgnoreCase(id)))
&& (chainCode == o.chainCode || (chainCode != null
&& (id == o.id || (id != null && o.id != null && o.id
.equalsIgnoreCase(id)))
&& (chainCode == o.chainCode || (chainCode != null
@@
-66,7
+66,7
@@
public class PDBEntry
&& (properties == o.properties || (properties != null
&& o.properties != null && properties
.equals(o.properties)));
&& (properties == o.properties || (properties != null
&& o.properties != null && properties
.equals(o.properties)));
-
+
}
/**
}
/**
@@
-86,7
+86,7
@@
public class PDBEntry
// this.file = filePath;
// this.id = pdbId;
// }
// this.file = filePath;
// this.id = pdbId;
// }
-
+
public PDBEntry(String pdbId, String chain, PDBEntry.Type type,
String filePath)
{
public PDBEntry(String pdbId, String chain, PDBEntry.Type type,
String filePath)
{
@@
-127,6
+127,7
@@
public class PDBEntry
{
this.type = t;
}
{
this.type = t;
}
+
public void setType(PDBEntry.Type type)
{
this.type = type == null ? null : type.toString();
public void setType(PDBEntry.Type type)
{
this.type = type == null ? null : type.toString();