public class HEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
eventType
Type of the event.
|
protected java.lang.String |
parentCuId
Id of the parent control unit.
|
protected java.lang.String |
parentCuType
Type of the parent control unit.
|
protected java.lang.String |
subCuId
Id of the sub control unit.
|
protected java.lang.String |
subCuType
Type of the sub control unit.
|
protected java.lang.String |
subscriptionId
Id of the event subscription in which scope the event notification is received.
|
| Constructor and Description |
|---|
HEvent(java.lang.String subscriptionId,
int eventType,
java.lang.String subCuType,
java.lang.String subCuId,
java.lang.String parentCuType,
java.lang.String parentCuId)
Controlcts hierarchy event with given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType()
Returns the event type.
|
java.lang.String |
getParentCuId()
Returns id of the parent control unit.
|
java.lang.String |
getParentCuType()
Returns type of the parent control unit.
|
java.lang.String |
getSubCuId()
Returns id of the sub control unit.
|
java.lang.String |
getSubCuType()
Returns type of the sub control unit
|
java.lang.String |
getSubscriptionId()
Returns id of the event subscription in which scope the event notification is received.
|
protected java.lang.String subscriptionId
protected int eventType
HierarchyListener interface.protected java.lang.String subCuType
protected java.lang.String subCuId
protected java.lang.String parentCuType
protected java.lang.String parentCuId
public HEvent(java.lang.String subscriptionId,
int eventType,
java.lang.String subCuType,
java.lang.String subCuId,
java.lang.String parentCuType,
java.lang.String parentCuId)
subscriptionId - id of the event subscription in which scope the event notification is received.eventType - type of the event. Could be one of the specified in the HierarchyListener interface.subCuType - type of the sub control unitsubCuId - id of the sub control unitparentCuType - type of the parent control unitparentCuId - id of the parent control unitpublic int getEventType()
HierarchyListener interface.public java.lang.String getParentCuId()
public java.lang.String getParentCuType()
public java.lang.String getSubCuId()
public java.lang.String getSubCuType()
public java.lang.String getSubscriptionId()
Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.