Package org.biojava.bio.structure
Class PDBHeader
- java.lang.Object
-
- org.biojava.bio.structure.PDBHeader
-
-
Field Summary
Fields Modifier and Type Field Description static floatDEFAULT_RESOLUTIONstatic java.lang.Stringnewline
-
Constructor Summary
Constructors Constructor Description PDBHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(PDBHeader other)Compare two PDBHeader objectsjava.lang.StringgetClassification()java.util.DategetDepDate()java.lang.StringgetDescription()java.lang.LonggetId()Get the ID used by Hibernate.java.lang.StringgetIdCode()The PDB code for this protein structure.java.lang.StringgetMethod()java.util.DategetModDate()floatgetResolution()java.lang.StringgetTechnique()java.lang.StringgetTitle()voidsetClassification(java.lang.String classification)voidsetDepDate(java.util.Date depDate)voidsetDescription(java.lang.String description)voidsetIdCode(java.lang.String idCode)The PDB code for this protein structure.voidsetMethod(java.lang.String method)voidsetModDate(java.util.Date modDate)voidsetResolution(float resolution)voidsetTechnique(java.lang.String technique)voidsetTitle(java.lang.String title)java.lang.StringtoPDB()Return a PDB representation of the PDB HeadervoidtoPDB(java.lang.StringBuffer buf)Appends a PDB representation of the PDB header to the provided StringBufferjava.lang.StringtoString()String representation
-
-
-
Field Detail
-
DEFAULT_RESOLUTION
public static final float DEFAULT_RESOLUTION
- See Also:
- Constant Field Values
-
newline
public static final java.lang.String newline
-
-
Method Detail
-
toString
public java.lang.String toString()
String representation- Overrides:
toStringin classjava.lang.Object
-
toPDB
public java.lang.String toPDB()
Return a PDB representation of the PDB Header
-
toPDB
public void toPDB(java.lang.StringBuffer buf)
Appends a PDB representation of the PDB header to the provided StringBuffer
-
getId
public java.lang.Long getId()
Get the ID used by Hibernate.- Returns:
- the ID used by Hibernate
- See Also:
setId(Long)
-
equals
public boolean equals(PDBHeader other)
Compare two PDBHeader objects- Parameters:
other- a PDBHeader object to compare this one to.- Returns:
- true if they are equal or false if they are not.
-
getIdCode
public java.lang.String getIdCode()
The PDB code for this protein structure.- Returns:
- the PDB identifier
- See Also:
setIdCode(String)
-
setIdCode
public void setIdCode(java.lang.String idCode)
The PDB code for this protein structure.- Parameters:
idCode- the PDB identifier- See Also:
getIdCode()
-
getClassification
public java.lang.String getClassification()
-
setClassification
public void setClassification(java.lang.String classification)
-
getDepDate
public java.util.Date getDepDate()
-
setDepDate
public void setDepDate(java.util.Date depDate)
-
getTechnique
public java.lang.String getTechnique()
-
setTechnique
public void setTechnique(java.lang.String technique)
-
getResolution
public float getResolution()
-
setResolution
public void setResolution(float resolution)
-
getModDate
public java.util.Date getModDate()
-
setModDate
public void setModDate(java.util.Date modDate)
-
getMethod
public java.lang.String getMethod()
-
setMethod
public void setMethod(java.lang.String method)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
-