Class AssetOwnerEvent

    • Constructor Detail

      • AssetOwnerEvent

        public AssetOwnerEvent()
        Default constructor
      • AssetOwnerEvent

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

      • getEventType

        public AssetOwnerEventType getEventType()
        Return the type of event.
        Returns:
        event type enum
      • setEventType

        public void setEventType​(AssetOwnerEventType eventType)
        Set up the type of event.
        Parameters:
        eventType - - event type enum
      • getOriginalAsset

        public Asset getOriginalAsset()
        Return the original asset description.
        Returns:
        properties about the asset
      • setOriginalAsset

        public void setOriginalAsset​(Asset originalAsset)
        Set up the original asset description.
        Parameters:
        originalAsset - - properties about the asset.
      • 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.
      • equals

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