Interface ModifiedCompound
- All Known Implementing Classes:
ModifiedCompoundImpl
public interface ModifiedCompound
Root interface for all modifications in structure.
- Since:
- 3.0
- Author:
- Jianjiong Gao
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addAtomLinkage
(StructureAtomLinkage linkage) Add a linkage.void
addAtomLinkages
(Collection<StructureAtomLinkage> linkages) Add a collections of linkages.boolean
return a description of this compoundgetGroups
(boolean isAminoAcid) void
setAtomLinkages
(Set<StructureAtomLinkage> linkages) Set atom linkagesvoid
setDescription
(String desc) void
setGroups
(Set<StructureGroup> groups) void
-
Method Details
-
getDescription
String getDescription()return a description of this compound- Returns:
- a description
-
setDescription
-
getModification
ProteinModification getModification()- Returns:
ProteinModificationBean
occurred on the residue.
-
setModification
-
getGroups
Set<StructureGroup> getGroups()- Returns:
- a set of involved group.
-
setGroups
-
getGroups
- Parameters:
isAminoAcid
- true if amino acids.- Returns:
- a set of involved group of the type.
-
getAtomLinkages
Set<StructureAtomLinkage> getAtomLinkages()- Returns:
- a set of atom linkages.
- See Also:
-
#getLinkedGroupPairs
StructureAtomLinkage
-
setAtomLinkages
Set atom linkages -
addAtomLinkage
Add a linkage. Add new the involved groups first usingaddGroup
.- Parameters:
linkage
- an atom linkage.- Returns:
- true if this linkage was not already contained.
- See Also:
-
addAtomLinkages
Add a collections of linkages.- Parameters:
linkages
- an atom linkage.
-
crossChains
boolean crossChains()- Returns:
- true if groups from multiple chains were involved
-