public class PDBHeader extends Object implements PDBRecord
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_RESOLUTION |
static float |
DEFAULT_RFREE |
static String |
newline |
Constructor and Description |
---|
PDBHeader() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(PDBHeader other)
Compare two PDBHeader objects
|
String |
getAuthors()
Return the names of the authors as listed in the AUTHORS section of a PDB file.
|
Map<Integer,BioAssemblyInfo> |
getBioAssemblies()
Return the map of biological assemblies.
|
String |
getClassification() |
PDBCrystallographicInfo |
getCrystallographicInfo() |
Date |
getDepDate()
Return the deposition date of the structure in the PDB.
|
String |
getDescription() |
Set<ExperimentalTechnique> |
getExperimentalTechniques()
Return the Set of ExperimentalTechniques, usually the set is of size 1 except for hybrid
experimental techniques when the Set will contain 2 or more values
|
Long |
getId()
Get the ID used by Hibernate.
|
String |
getIdCode()
The PDB code for this protein structure.
|
JournalArticle |
getJournalArticle()
Get the associated publication as defined by the JRNL records in a PDB
file.
|
Date |
getModDate()
Return the latest modification date of the structure.
|
int |
getNrBioAssemblies()
Get the number of biological assemblies available in the PDB header
|
Date |
getRelDate()
Return the release date of the structure in the PDB.
|
float |
getResolution() |
List<DatabasePdbrevRecord> |
getRevisionRecords() |
float |
getRfree() |
float |
getRwork() |
String |
getTitle() |
boolean |
hasJournalArticle()
Return whether or not the entry has an associated journal article
or publication.
|
void |
setAuthors(String authors) |
void |
setBioAssemblies(Map<Integer,BioAssemblyInfo> bioAssemblies) |
void |
setClassification(String classification) |
void |
setCrystallographicInfo(PDBCrystallographicInfo crystallographicInfo) |
void |
setDepDate(Date depDate)
The deposition date of the structure in the PDB
|
void |
setDescription(String description) |
boolean |
setExperimentalTechnique(String techniqueStr)
Adds the experimental technique to the set of experimental techniques of this header.
|
void |
setIdCode(String idCode)
The PDB code for this protein structure.
|
void |
setJournalArticle(JournalArticle journalArticle)
Set the associated publication as defined by the JRNL records in a PDB
file.
|
void |
setModDate(Date modDate)
The latest modification date of the structure.
|
void |
setRelDate(Date relDate)
The release date of the structure in the PDB.
|
void |
setResolution(float resolution) |
void |
setRevisionRecords(List<DatabasePdbrevRecord> revisionRecords) |
void |
setRfree(float rFree) |
void |
setRwork(float rWork) |
void |
setTitle(String title) |
String |
toPDB()
Return a PDB representation of the PDB Header
|
void |
toPDB(StringBuffer buf)
Appends a PDB representation of the PDB header to the provided StringBuffer
|
String |
toString()
String representation
|
public static final float DEFAULT_RESOLUTION
public static final float DEFAULT_RFREE
public PDBHeader()
public void toPDB(StringBuffer buf)
public Long getId()
setId(Long)
public boolean equals(PDBHeader other)
other
- a PDBHeader object to compare this one to.public String getIdCode()
setIdCode(String)
public void setIdCode(String idCode)
idCode
- the PDB identifiergetIdCode()
public String getClassification()
public void setClassification(String classification)
public Date getDepDate()
public void setDepDate(Date depDate)
depDate
- the deposition datepublic Set<ExperimentalTechnique> getExperimentalTechniques()
public boolean setExperimentalTechnique(String techniqueStr)
techniqueStr
- ExperimentalTechnique
)
and it was not already present in the current set of ExperimentalTechniquespublic PDBCrystallographicInfo getCrystallographicInfo()
public void setCrystallographicInfo(PDBCrystallographicInfo crystallographicInfo)
public float getResolution()
public void setResolution(float resolution)
public float getRfree()
public void setRfree(float rFree)
public Date getModDate()
public void setModDate(Date modDate)
modDate
- the latest modification datepublic Date getRelDate()
public void setRelDate(Date relDate)
relDate
- the release datepublic String getDescription()
public void setDescription(String description)
public String getAuthors()
public void setAuthors(String authors)
public boolean hasJournalArticle()
public JournalArticle getJournalArticle()
public void setJournalArticle(JournalArticle journalArticle)
journalArticle
- the articlepublic Map<Integer,BioAssemblyInfo> getBioAssemblies()
public void setBioAssemblies(Map<Integer,BioAssemblyInfo> bioAssemblies)
public int getNrBioAssemblies()
public List<DatabasePdbrevRecord> getRevisionRecords()
public void setRevisionRecords(List<DatabasePdbrevRecord> revisionRecords)
public float getRwork()
public void setRwork(float rWork)
rWork
- the R-work for this structure.Copyright © 2000–2018 BioJava. All rights reserved.