public class PDBHeader extends Object implements PDBRecord, Serializable
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() |
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() |
int |
getNrBioAssemblies()
Get the number of biological assemblies available in the PDB header
|
float |
getResolution() |
List<DatabasePdbrevRecord> |
getRevisionRecords() |
float |
getRfree() |
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) |
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) |
void |
setResolution(float resolution) |
void |
setRevisionRecords(List<DatabasePdbrevRecord> revisionRecords) |
void |
setRfree(float rFree) |
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 static final String newline
public String toPDB()
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)
public 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)
public String getTitle()
public void setTitle(String title)
public 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)
Copyright © 2000–2016 BioJava. All rights reserved.