public class Site extends java.lang.Object implements PDBRecord, java.io.Serializable, java.lang.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 | Description |
---|---|
Site() |
|
Site(java.lang.String siteID,
java.util.List<Group> groups) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(Site other) |
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getDescription() |
gets the REMARK 800 description of the site
|
java.lang.String |
getEvCode() |
gets the REMARK 800 EVIDENCE CODE for the site.
|
java.util.List<Group> |
getGroups() |
|
java.lang.String |
getSiteID() |
|
int |
hashCode() |
|
java.lang.String |
remark800toPDB() |
Provides REMARK 800 section pertaining to the site as a string.
|
void |
remark800toPDB(java.lang.StringBuffer stringBuffer) |
Appends the REMARK 800 section pertaining to the site onto the end of the
StringBuffer provided.
|
void |
setDescription(java.lang.String description) |
sets the REMARK 800 description of the site
|
void |
setEvCode(java.lang.String evCode) |
sets the REMARK 800 EVIDENCE CODE for the site.
|
void |
setGroups(java.util.List<Group> residues) |
|
void |
setSiteID(java.lang.String siteID) |
|
java.lang.String |
toPDB() |
Returns a PDB file like representation of this record.
|
void |
toPDB(java.lang.StringBuffer buf) |
Appends a PDB file like representation of this record to the provided StringBuffer.
|
java.lang.String |
toString() |
public Site()
public Site(java.lang.String siteID, java.util.List<Group> groups)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toPDB()
PDBRecord
public void toPDB(java.lang.StringBuffer buf)
PDBRecord
public void remark800toPDB(java.lang.StringBuffer stringBuffer)
stringBuffer
- public java.lang.String remark800toPDB()
public void setSiteID(java.lang.String siteID)
siteID
- the siteID to set
e.g. CAT, AC1, AC2...public java.lang.String getSiteID()
public java.util.List<Group> getGroups()
public void setGroups(java.util.List<Group> residues)
residues
- the groups to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getEvCode()
public void setEvCode(java.lang.String evCode)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object