Class ObjectStatus

java.lang.Object
com.caplin.transformer.module.ObjectStatus

public class ObjectStatus extends Object
Represents the status of an object in the Transformer's cache.
  • Constructor Details

    • ObjectStatus

      public ObjectStatus(ServiceStatus serviceStatus, String description)
      Create a new objectStatus with the provided ServiceStatus and description
      Parameters:
      serviceStatus - the ServiceStatus to be published
      description - an optional (null accepted) description of this status
  • Method Details

    • getServiceStatus

      public ServiceStatus 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

      public String 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object