EDMWorkerResult


edm.edom3

Interface EDMWorkerResult




  • public interface EDMWorkerResult

    Contains number of errors and warnings encountered during certain operations.

    Author:Andre Naess (an@epmtech.jotne.com), EPM Technology

    • Method Summary

      All Methods Instance Methods Abstract Methods 

      Modifier and TypeMethod and Description
      intgetErrors()
      Get number of errors : sum(recoverables,fatals)
      intgetFatals()
      Get number of fatal errors that made the worker stop, ususally 0 or 1.
      intgetInfos()
      Retrieve extra info for readStepFile
      intgetLines()
      Retrieve extra info for readStepFile
      intgetSdaiError()
      Get the sdai error during a failing remote call (?huh?)
      intgetTotals()
      Retrieve extra info for readStepFile
      intgetUserDefinedStatus()
      Retrieve the EDMmethod execution status, which can come from the following sources: - xpxTerminate - in a query schema - xpxTerminateMapping - in a mapping schema - xpxReturnValueToCaller - in a rule schema.
      longgetValidationErrorId()
      Retrieve the validationErrorId, this is the result of validating a model with ValidationErrorModel set to true.
      intgetWarnings()
      Get number of warnings
    • Method Detail

      • getWarnings

        int getWarnings()

        Get number of warnings

        Returns:number of warnings

      • getErrors

        int getErrors()

        Get number of errors : sum(recoverables,fatals)

        Returns:number of errors

      • getFatals

        int getFatals()

        Get number of fatal errors that made the worker stop, ususally 0 or 1.

        Returns:number of fatals

      • getSdaiError

        int getSdaiError()

        Get the sdai error during a failing remote call (?huh?)

        Returns:sdai error

      • getInfos

        int getInfos()

        Retrieve extra info for readStepFile

        Returns:number of infos logged to the step file reader log file.

      • getTotals

        int getTotals()

        Retrieve extra info for readStepFile

        Returns:total number of diagnostics from the step file reader.

      • getLines

        int getLines()

        Retrieve extra info for readStepFile

        Returns:total number lines read by step file reader.

      • getUserDefinedStatus

        int getUserDefinedStatus()

        Retrieve the EDMmethod execution status, which can come from the following sources: - xpxTerminate - in a query schema - xpxTerminateMapping - in a mapping schema - xpxReturnValueToCaller - in a rule schema.

        Returns:the value set in the schema functions

      • getValidationErrorId

        long getValidationErrorId()

        Retrieve the validationErrorId, this is the result of validating a model with ValidationErrorModel set to true. Use the EDMValidator.setValidationErrorModel().

        Returns:the instanceId of the ValidationErrorModel.