Class UpdatedAssetEvent

    • Constructor Detail

      • UpdatedAssetEvent

        public UpdatedAssetEvent()
        Default constructor
      • UpdatedAssetEvent

        public UpdatedAssetEvent​(UpdatedAssetEvent template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getUpdateTime

        public Date getUpdateTime()
        Return the time that the asset was updated.
        Returns:
        date/time
      • setUpdateTime

        public void setUpdateTime​(Date updateTime)
        Set up the time that the asset was updated.
        Parameters:
        updateTime - date/time
      • getOriginalAsset

        public Asset getOriginalAsset()
        Return the original values of the Asset before the update.
        Returns:
        original asset values or null
      • setOriginalAsset

        public void setOriginalAsset​(Asset originalAsset)
        Set up details of the original asset - if available.
        Parameters:
        originalAsset - original asset values.
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class AssetEvent
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class AssetEvent
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class AssetEvent
        Returns:
        int hash code