|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava3.protmod.structure.ModifiedCompoundImpl
public class ModifiedCompoundImpl
| Field Summary | |
|---|---|
static String |
newline
|
| Constructor Summary | |
|---|---|
ModifiedCompoundImpl()
|
|
ModifiedCompoundImpl(ProteinModification modification,
Collection<StructureAtomLinkage> linkages)
|
|
ModifiedCompoundImpl(ProteinModification modification,
StructureGroup modifiedResidue)
Create a ModifiedCompoundImpl that has only one involved component. |
|
| Method Summary | |
|---|---|
boolean |
addAtomLinkage(StructureAtomLinkage linkage)
Add a linkage. |
void |
addAtomLinkages(Collection<StructureAtomLinkage> linkages)
Add a collections of linkages. |
int |
compareTo(ModifiedCompound compound)
|
boolean |
crossChains()
|
boolean |
equals(Object obj)
|
Set<StructureAtomLinkage> |
getAtomLinkages()
|
String |
getDescription()
return a description of this compound |
Set<StructureGroup> |
getGroups()
|
Set<StructureGroup> |
getGroups(boolean isAminoAcid)
|
ProteinModification |
getModification()
|
String |
getOriginalModificationId()
Deprecated. use getModification().getId() |
int |
hashCode()
|
void |
setAtomLinkages(Set<StructureAtomLinkage> linkages)
Set atom linkages |
void |
setDescription(String desc)
|
void |
setGroups(Set<StructureGroup> groups)
|
void |
setModification(ProteinModification protmod)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String newline
| Constructor Detail |
|---|
public ModifiedCompoundImpl()
public ModifiedCompoundImpl(ProteinModification modification,
StructureGroup modifiedResidue)
modification - ProteinModification.modifiedResidue - modified group.
IllegalArgumentException - if either argument is null.
public ModifiedCompoundImpl(ProteinModification modification,
Collection<StructureAtomLinkage> linkages)
modification - ProteinModification.linkages - a collection of atom linkages.ProteinModification,
StructureAtomLinkage| Method Detail |
|---|
public void setModification(ProteinModification protmod)
setModification in interface ModifiedCompoundpublic ProteinModification getModification()
getModification in interface ModifiedCompoundProteinModificationBean occurred on the residue.public String getOriginalModificationId()
public Set<StructureGroup> getGroups()
getGroups in interface ModifiedCompoundpublic Set<StructureGroup> getGroups(boolean isAminoAcid)
getGroups in interface ModifiedCompoundisAminoAcid - true if amino acids.
public void setGroups(Set<StructureGroup> groups)
setGroups in interface ModifiedCompoundpublic Set<StructureAtomLinkage> getAtomLinkages()
getAtomLinkages in interface ModifiedCompound#getLinkedGroupPairs,
StructureAtomLinkagepublic void setAtomLinkages(Set<StructureAtomLinkage> linkages)
ModifiedCompound
setAtomLinkages in interface ModifiedCompoundpublic boolean addAtomLinkage(StructureAtomLinkage linkage)
ModifiedCompoundaddGroup.
addAtomLinkage in interface ModifiedCompoundlinkage - an atom linkage.
StructureAtomLinkagepublic void addAtomLinkages(Collection<StructureAtomLinkage> linkages)
ModifiedCompound
addAtomLinkages in interface ModifiedCompoundlinkages - an atom linkage.public boolean crossChains()
crossChains in interface ModifiedCompoundpublic String toString()
toString in class Objectpublic String getDescription()
ModifiedCompound
getDescription in interface ModifiedCompoundpublic void setDescription(String desc)
setDescription in interface ModifiedCompoundpublic int compareTo(ModifiedCompound compound)
compareTo in interface Comparable<ModifiedCompound>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||