Class Validation

java.lang.Object
org.helm.notation2.tools.Validation

public final class Validation
extends Object
Validation class to validate the whole HELM string
Author:
hecht
  • Method Summary

    Modifier and Type Method Description
    static List<Monomer> getAllMonomers​(org.helm.notation2.parser.notation.polymer.MonomerNotation not, int position)
    method to get for one MonomerNotation all valid contained monomers
    static List<Monomer> getAllMonomersOnlyBase​(org.helm.notation2.parser.notation.polymer.MonomerNotation not)
    method to get for one MonomerNotation all valid contained monomers.
    static boolean validateConnections​(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
    method to valid all existent connections in the Notation objects
    static boolean validateGrouping​(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
    method to validate every GroupNotation of the Notation objects
    protected static boolean validateMonomers​(List<org.helm.notation2.parser.notation.polymer.MonomerNotation> mon)
    method to validate a list of MonomerNotation objects
    static void validateNotationObjects​(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
    method to check if the generated notation objects by the parser are correct the polymer ids have to be unique; all monomers have to be valid; all used polymer ids in the grouping section have to be there; all connections have to be valid
    static boolean validateUniquePolymerIDs​(org.helm.notation2.parser.notation.HELM2Notation helm2notation)
    method to check if all existent polymer ids are unique

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait