com.ibm.tivoli.maximo.integrity.check

Class CheckSequences

  • All Implemented Interfaces:
    ICConstants


    public class CheckSequences
    extends IntegrityCheck
    Checks the values returned from the sequences.
    • Method Detail

      • getTitle

        public MXException getTitle()
        Description copied from class: IntegrityCheck
        Returns an MXException that tells the user what is being checked now. "Checking for any workflow loops that may exist."
        Specified by:
        getTitle in class IntegrityCheck
      • conditionsCheck

        public boolean conditionsCheck()
                                throws java.sql.SQLException
        Description copied from class: IntegrityCheck
        Should this test be run? This is for things like preMerlin or DB2 only checks. It's not an issue if test won't run because the conditions don't apply to it.
        Specified by:
        conditionsCheck in class IntegrityCheck
        Returns:
        true if the conditions are correct for the check.
        Throws:
        java.sql.SQLException
      • prerequisitesCheck

        public boolean prerequisitesCheck()
        Description copied from class: IntegrityCheck
        Can this test be run now? This is for things like loading the meta data, or having valid data in the MaxAttribute table. The test should run after other problems are resolved.
        Specified by:
        prerequisitesCheck in class IntegrityCheck
        Returns:
        true if all prerequisites are there to run the check.
      • setSequencesList

        public void setSequencesList(java.lang.String[] sequenceList)
        This method gives a list of sequences to check. If a sequenced named in this list does not exist or isn't connected to a real table, then it is ignored.
        Parameters:
        sequenceList - List of sequences to check.