Class ObjectStatus


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

      Constructors 
      Constructor Description
      ObjectStatus​(ServiceStatus serviceStatus, java.lang.String description)
      Create a new objectStatus with the provided ServiceStatus and description
    • Constructor Detail

      • ObjectStatus

        public ObjectStatus​(ServiceStatus serviceStatus,
                            java.lang.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 Detail

      • 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 java.lang.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 java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object