Class PiTableEntryHandle


  • @Beta
    public final class PiTableEntryHandle
    extends PiHandle
    Global identifier of a PI table entry applied on a device, uniquely defined by a device ID, table ID and match key.
    • Method Detail

      • of

        public static PiTableEntryHandle of​(DeviceId deviceId,
                                            PiTableEntry entry)
        Creates a new handle for the given PI table entry and device ID.
        Parameters:
        deviceId - device ID
        entry - PI table entry
        Returns:
        PI table entry handle
      • tableId

        public PiTableId tableId()
        Returns the table ID associated with this handle.
        Returns:
        table ID
      • matchKey

        public PiMatchKey matchKey()
        Returns the match key associated with this handle.
        Returns:
        match key
      • priority

        public java.util.OptionalInt priority()
        Returns the optional priority associated with this handle.
        Returns:
        optional priority
      • entityType

        public PiEntityType entityType()
        Description copied from class: PiHandle
        Returns the type of entity identified by this handle.
        Specified by:
        entityType in class PiHandle
        Returns:
        PI entity type
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in class PiHandle
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class PiHandle