Package eu.mihosoft.devcom
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only wrapper of 'StateChangedEvent
'.clone()
Returns a deep clone of this object.Returns the value of the 'exception' property.Returns the value of the 'newState' property.Returns the value of the 'oldState' property.long
Returns the value of the 'timestamp' property.static StateChangedEvent.Builder
Returns a new builder for creating a 'StateChangedEvent
' instance.static eu.mihosoft.vmf.runtime.core.Type
type()
Returns the Type object of this model type.Methods inherited from interface eu.mihosoft.vmf.runtime.core.VObject
vmf
-
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
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 interfaceeu.mihosoft.vmf.runtime.core.VObject
- Returns:
- a read-only wrapper of '
StateChangedEvent
'
-
clone
StateChangedEvent clone()Returns a deep clone of this object.- Specified by:
clone
in interfaceeu.mihosoft.vmf.runtime.core.VObject
- Returns:
- a deep clone of this object
-