Class IndexSelection
java.lang.Object
org.rcsb.strucmotif.domain.structure.IndexSelection
- All Implemented Interfaces:
Selection
Selects a residue by its index in the source structure file.
-
Constructor Summary
ConstructorsConstructorDescriptionIndexSelection(String structOperId, int index) Constructs an IndexSelection. -
Method Summary
-
Constructor Details
-
IndexSelection
Constructs an IndexSelection.- Parameters:
structOperId- the operatorindex- the index
-
-
Method Details
-
getStructOperId
Description copied from interface:SelectionThe operator applied to the original coordinates.- Specified by:
getStructOperIdin interfaceSelection- Returns:
- an expression based on struct_oper_id
-
getIndex
public int getIndex()The index of the referenced residue.- Returns:
- an int
-
equals
-
hashCode
public int hashCode() -
toString
-