Class ServiceWarning<T>
- java.lang.Object
-
- de.hybris.platform.apiregistryservices.services.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 messageT
getObject()
Returns an instance related to the warning
-
-
-
Constructor Detail
-
ServiceWarning
public ServiceWarning(T object, java.lang.String message)
Default constructor of an immutable entity- Parameters:
object
- related instancemessage
- warning message
-
-
Method Detail
-
getObject
public T getObject()
Returns an instance related to the warning
-
getMessage
public java.lang.String getMessage()
Returns warning message
-
-