pl.poznan.put.pdb.analysis.InvalidResidueInformationProvider Maven / Gradle / Ivy
package pl.poznan.put.pdb.analysis;
import org.immutables.value.Value;
import pl.poznan.put.torsion.TorsionAngleType;
import java.util.Collections;
import java.util.List;
@Value.Immutable
abstract class InvalidResidueInformationProvider implements ResidueInformationProvider {
@Value.Parameter(order = 1)
public abstract String residueName();
@Override
public final MoleculeType moleculeType() {
return MoleculeType.UNKNOWN;
}
@Override
public final List moleculeComponents() {
return Collections.emptyList();
}
@Override
public final char oneLetterName() {
return residueName().charAt(residueName().length() - 1);
}
@Override
public final List aliases() {
return Collections.singletonList(residueName());
}
@Override
public final List torsionAngleTypes() {
return Collections.emptyList();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy