Class ErrorLevel

    • Method Detail

      • getID

        @Nonnull
        @Nonempty
        public String getID()
        Description copied from interface: IHasID
        Get the unique ID of this object. If the type is String than the returned value must match an XML NMToken expression (so e.g. no ':' in the ID)!
        Specified by:
        getID in interface IHasID<String>
        Returns:
        The ID of this object. May not be null.
      • getNumericLevel

        @Nonnegative
        public int getNumericLevel()
        Specified by:
        getNumericLevel in interface IErrorLevel
        Returns:
        The numeric level of this error level. Must be ≥ 0. The higher the numeric level, the higher the priority of the error level. So e.g. ERROR has a higher/larger/greater numerical level than WARNING.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object