Class ErrorCodeReport


  • public class ErrorCodeReport
    extends Object
    This class represents an error code report as Java object.
    • Constructor Detail

      • ErrorCodeReport

        public ErrorCodeReport​(String projectName,
                               String projectVersion,
                               List<ErrorMessageDeclaration> errorMessageDeclarations)
        Create a new instance of an error code report.
        Parameters:
        projectName - name of the project the error definitions belong to
        projectVersion - version of the project
        errorMessageDeclarations - error message declarations
    • Method Detail

      • getProjectName

        public String getProjectName()
        Get the name of the project the error code belongs to.
        Returns:
        project name
      • getProjectVersion

        public String getProjectVersion()
        Get the version of the project the error code belongs to.
        Returns:
        project version
      • getErrorMessageDeclarations

        public List<ErrorMessageDeclaration> getErrorMessageDeclarations()
        Get a list of error message declarations
        Returns:
        error message declarations
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object