public class Site extends Object implements PDBRecord, Serializable, Comparable<Site>
SITE 1 AC1 3 GLY A 65 CYS A 67 HOH A 180 SITE 1 AC2 10 HIS C 37 ALA C 39 THR C 152 LEU C 153 SITE 2 AC2 10 HIS D 37 ALA D 39 THR D 152 LEU D 153 SITE 3 AC2 10 SER D 154 GOL D 172
Constructor and Description |
---|
Site() |
Site(String siteID,
List<Group> groups) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Site other) |
boolean |
equals(Object obj) |
String |
getDescription()
gets the REMARK 800 description of the site
|
String |
getEvCode()
gets the REMARK 800 EVIDENCE CODE for the site.
|
List<Group> |
getGroups() |
String |
getSiteID() |
int |
hashCode() |
String |
remark800toPDB()
Provides REMARK 800 section pertaining to the site as a string.
|
void |
remark800toPDB(StringBuffer stringBuffer)
Appends the REMARK 800 section pertaining to the site onto the end of the
StringBuffer provided.
|
void |
setDescription(String description)
sets the REMARK 800 description of the site
|
void |
setEvCode(String evCode)
sets the REMARK 800 EVIDENCE CODE for the site.
|
void |
setGroups(List<Group> residues) |
void |
setSiteID(String siteID) |
String |
toPDB()
Returns a PDB file like representation of this record.
|
void |
toPDB(StringBuffer buf)
Appends a PDB file like representation of this record to the provided StringBuffer.
|
String |
toString() |
public String toPDB()
PDBRecord
public void toPDB(StringBuffer buf)
PDBRecord
public void remark800toPDB(StringBuffer stringBuffer)
stringBuffer
- public String remark800toPDB()
public void setSiteID(String siteID)
siteID
- the siteID to set
e.g. CAT, AC1, AC2...public String getSiteID()
public String getDescription()
public void setDescription(String description)
public String getEvCode()
public void setEvCode(String evCode)
public int compareTo(Site other)
compareTo
in interface Comparable<Site>
Copyright © 2000–2016 BioJava. All rights reserved.