Package org.rcsb.strucmotif.domain.query
Class PositionSpecificExchange
java.lang.Object
org.rcsb.strucmotif.domain.query.PositionSpecificExchange
Defines a position-specific exchange for a particular position in the query structure.
-
Constructor Summary
ConstructorsConstructorDescriptionPositionSpecificExchange(LabelSelection labelSelection, Set<ResidueType> residueTypes) Constructs a new position-specific exchange.PositionSpecificExchange(LabelSelection labelSelection, ResidueType... residueTypes) -
Method Summary
Modifier and TypeMethodDescriptionThe position this exchange references.The set of allowed component types at that position.
-
Constructor Details
-
PositionSpecificExchange
- Parameters:
labelSelection- selector of the referenced positionresidueTypes- all allowed types (must include original type if still allowed)- See Also:
-
PositionSpecificExchange
Constructs a new position-specific exchange.- Parameters:
labelSelection- selector of the referenced positionresidueTypes- all allowed types (must include original type if still allowed)
-
-
Method Details
-
getLabelSelection
The position this exchange references.- Returns:
- the
LabelSelectionof a residue
-
getResidueTypes
The set of allowed component types at that position. Must explicitly include the original residue type if that should still be allowed.- Returns:
- all types that can occur at this position
-