Interface StateChangedEvent

All Superinterfaces:
Cloneable, eu.mihosoft.vmf.runtime.core.Immutable, eu.mihosoft.vmf.runtime.core.VObject
All Known Implementing Classes:
StateChangedEventImpl

public interface StateChangedEvent extends eu.mihosoft.vmf.runtime.core.VObject, Cloneable, eu.mihosoft.vmf.runtime.core.Immutable
A representation of the immutable model object eu.mihosoft.devcom.StateChangedEvent.

State changed event.

  • Method Details

    • getException

      Exception getException()
      Returns the value of the 'exception' property.
      Returns:
      the value of the 'exception' property.
    • getNewState

      Device.State getNewState()
      Returns the value of the 'newState' property.

      New state

      Returns:
      the value of the 'newState' property.
    • getOldState

      Device.State getOldState()
      Returns the value of the 'oldState' property.

      Old state

      Returns:
      the value of the 'oldState' property.
    • getTimestamp

      long getTimestamp()
      Returns the value of the 'timestamp' property.

      Timestamp (milliseconds since January 1st, 1970).

      Returns:
      the value of the 'timestamp' property.
    • type

      static eu.mihosoft.vmf.runtime.core.Type type()
      Returns the Type object of this model type.
      Returns:
      Type object
    • newBuilder

      static StateChangedEvent.Builder newBuilder()
      Returns a new builder for creating a 'StateChangedEvent' instance.
      Returns:
      a new builder for creating a 'StateChangedEvent' instance
    • asReadOnly

      StateChangedEvent asReadOnly()
      Returns a read-only wrapper of 'StateChangedEvent'. Since this model object is immutable this method does not perform any conversion and returns this object in unmodified form.
      Specified by:
      asReadOnly in interface eu.mihosoft.vmf.runtime.core.VObject
      Returns:
      a read-only wrapper of 'StateChangedEvent'
    • clone

      Returns a deep clone of this object.
      Specified by:
      clone in interface eu.mihosoft.vmf.runtime.core.VObject
      Returns:
      a deep clone of this object