Class BusPrimitiveInvalidity

    • Constructor Detail

      • BusPrimitiveInvalidity

        public BusPrimitiveInvalidity​(BusPrimitiveInvalidityType type,
                                      String additionalInformation)
        Constructor.
        Parameters:
        type - is the type of the invalidity.
        additionalInformation - describes some additional information on the invalidity.
    • Method Detail

      • equals

        @Pure
        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        @Pure
        public int hashCode()
        Overrides:
        hashCode in class Object
      • getType

        @Pure
        public BusPrimitiveInvalidityType getType()
        Replies the type of the invalidity.
        Returns:
        the type of the validity.
      • getLocalizedMessage

        @Pure
        public String getLocalizedMessage()
        Replies the localized message of the reason.
        Returns:
        the localized message of the reason.