Class ServiceWarning<T>


  • public class ServiceWarning<T>
    extends java.lang.Object
    Class encapsulating information of a service processing warning
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceWarning​(T object, java.lang.String message)
      Default constructor of an immutable entity
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns warning message
      T getObject()
      Returns an instance related to the warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceWarning

        public ServiceWarning​(T object,
                              java.lang.String message)
        Default constructor of an immutable entity
        Parameters:
        object - related instance
        message - warning message
    • Method Detail

      • getObject

        public T getObject()
        Returns an instance related to the warning
      • getMessage

        public java.lang.String getMessage()
        Returns warning message