Class NewAssetEvent

  • All Implemented Interfaces:
    Serializable

    public class NewAssetEvent
    extends AssetEvent
    NewAssetEvent describes the payload sent when a new Asset is added to the cohort metadata repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • NewAssetEvent

        public NewAssetEvent()
        Default constructor
      • NewAssetEvent

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

      • getCreationTime

        public Date getCreationTime()
        Return the time that the asset was created.
        Returns:
        date/time
      • setCreationTime

        public void setCreationTime​(Date creationTime)
        Set up the time that the asset was created.
        Parameters:
        creationTime - date/time
      • toString

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