Class AssetEvent

    • Constructor Detail

      • AssetEvent

        public AssetEvent()
        Default constructor
      • AssetEvent

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

      • getAsset

        public Asset getAsset()
        Return the asset description.
        Returns:
        properties about the asset
      • setAsset

        public void setAsset​(Asset asset)
        Set up the asset description.
        Parameters:
        asset - - properties about the asset.
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class AssetConsumerEvent
        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 AssetConsumerEvent
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

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