JAL-4311 populate PDBEntry with 3d-beacons confidence score type/version - just need...
[jalview.git] / src / jalview / datamodel / PDBEntry.java
index ae8523d..4acb65b 100755 (executable)
@@ -560,6 +560,10 @@ public class PDBEntry
 
   private static final String MODELPAGE = "PROVIDERPAGE";
 
+  private static final String TEMPFAC_TYPE = "TFTYPE";
+
+  private static final String TEMPFAC_TYPE_VERSION = "TFTYPE_V";
+
   /**
    * Permanent URI for retrieving the original structure data
    * 
@@ -644,4 +648,29 @@ public class PDBEntry
   {
     return sf != null && sf.inFile != null && sf.inFile.exists();
   }
+
+  public void setTempFacType(String strucTfType)
+  {
+    setProperty(TEMPFAC_TYPE,strucTfType);
+  }
+  public void setTempFacTypeVersion(String strucTfTypeVersion)
+  {
+    setProperty(TEMPFAC_TYPE_VERSION,strucTfTypeVersion);
+  }
+  public String getTempFacType()
+  {
+    return (String) getProperty(TEMPFAC_TYPE);
+  }
+  public String getTempFacTypeVersion()
+  {
+    return (String) getProperty(TEMPFAC_TYPE_VERSION);
+  }
+  public boolean hasTempFacType()
+  {
+    return _hasProperty(TEMPFAC_TYPE);
+  }
+  public boolean hasTempFacTypeVersion()
+  {
+    return _hasProperty(TEMPFAC_TYPE_VERSION);
+  }
 }