Package eu.mihosoft.devcom
Interface PortEvent
- All Superinterfaces:
Cloneable
,eu.mihosoft.vmf.runtime.core.Immutable
,eu.mihosoft.vmf.runtime.core.VObject
- All Known Implementing Classes:
PortEventImpl
public interface PortEvent
extends eu.mihosoft.vmf.runtime.core.VObject, Cloneable, eu.mihosoft.vmf.runtime.core.Immutable
A representation of the immutable model object
eu.mihosoft.devcom.PortEvent
.
Port event.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only wrapper of 'PortEvent
'.clone()
Returns a deep clone of this object.eu.mihosoft.vcollections.VList<PortInfo>
getAdded()
Returns the value of the 'added' property.eu.mihosoft.vcollections.VList<PortInfo>
Returns the value of the 'removed' property.long
Returns the value of the 'timestamp' property.static PortEvent.Builder
Returns a new builder for creating a 'PortEvent
' 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
-
getAdded
eu.mihosoft.vcollections.VList<PortInfo> getAdded()Returns the value of the 'added' property.port infos of ports added since the last scan.
- Returns:
- the value of the 'added' property.
-
getRemoved
eu.mihosoft.vcollections.VList<PortInfo> getRemoved()Returns the value of the 'removed' property.port infos of ports removed since the last scan.
- Returns:
- the value of the 'removed' 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 'PortEvent
' instance.- Returns:
- a new builder for creating a '
PortEvent
' instance
-
asReadOnly
PortEvent asReadOnly()Returns a read-only wrapper of 'PortEvent
'. 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 '
PortEvent
'
-
clone
PortEvent 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
-