*/
package jalview.datamodel;
-import jalview.util.CaseInsensitiveString;
-
import java.util.Collections;
import java.util.Enumeration;
import java.util.Hashtable;
+import jalview.io.StructureFile;
+import jalview.util.CaseInsensitiveString;
+
public class PDBEntry
{
private String id;
+ private StructureFile sf = null;
+
public enum Type
{
// TODO is FILE needed; if not is this enum needed, or can we
{
return _hasProperty(PROVIDER);
}
+
+ public StructureFile getStructureFile()
+ {
+ return sf;
+ }
+
+ public void setStructureFile(StructureFile f)
+ {
+ sf = f;
+ }
+
+ public boolean hasStructureFile()
+ {
+ return sf != null && sf.inFile != null && sf.inFile.exists();
+ }
}