@Beta
public abstract class PiHandle<E extends PiEntity>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
PiHandle(DeviceId deviceId,
E piEntity) |
Modifier and Type | Method and Description |
---|---|
DeviceId |
deviceId()
Returns the device ID of this handle.
|
PiEntityType |
entityType()
Returns the type of entity identified by this handle.
|
abstract boolean |
equals(java.lang.Object obj) |
abstract int |
hashCode() |
E |
piEntity()
The entity to which this handle is associated.
|
abstract java.lang.String |
toString() |
public final DeviceId deviceId()
public final PiEntityType entityType()
public final E piEntity()
public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public abstract java.lang.String toString()
toString
in class java.lang.Object