Package com.caplin.transformer.module
Class ObjectStatus
java.lang.Object
com.caplin.transformer.module.ObjectStatus
Represents the status of an object in the Transformer's cache.
-
Constructor Summary
ConstructorDescriptionObjectStatus
(ServiceStatus serviceStatus, String description) Create a new objectStatus with the provided ServiceStatus and description -
Method Summary
-
Constructor Details
-
ObjectStatus
Create a new objectStatus with the provided ServiceStatus and description- Parameters:
serviceStatus
- the ServiceStatus to be publisheddescription
- an optional (null accepted) description of this status
-
-
Method Details
-
getServiceStatus
The status of the object in the cache.- Returns:
- the status of the object in the Transformer's cache, as provided by the data service or module(s) contributing to the object.
-
getDescription
Description of the status of the object in the cache.- Returns:
- A brief description of the status of the object, or null if no description.
-
hashCode
public int hashCode() -
equals
-
toString
-