# Interface: com.pnfsoftware.jeb.core.output.IActionableItem

An active item has an item identifier. That id can be interpreted by the [IUnit](com.pnfsoftware.jeb.core.units.IUnit.md) that  produced the item. Retrieving which actions are supported by an item can be done by querying the  owner unit. Several items may have the same id, for example, when they refer to the same  abstraction. Those implementation details are the responsibility of the unit.

## Static Final Field: HAS_RELATED_ITEMS
Type: `int`

Constant value: `2`
Description: This flag indicates that this item id is tied to one or more other related ids. The way to  retrieve additional ids is implementation dependent. If the owner object is an  [IAddressableUnit](com.pnfsoftware.jeb.core.units.IAddressableUnit.md), a client may use [IAddressableUnit#getRelatedItems(long)](IAddressableUnit#getRelatedItems(long)) to  retrieve additional items.

## Static Final Field: ITEM_TYPE_IDENTITY
Type: `long`

Constant value: `-144115188075855872`
Description: Identifier for opaque IDs

## Static Final Field: ITEM_TYPE_MASK
Type: `long`

Constant value: `-72057594037927936`
Description: Mask used to extract the item type

## Static Final Field: ROLE_MASTER
Type: `int`

Constant value: `1`
Description: This flag is used in the case where multiple items have the same id. Only one of those items  may have this flag set. It is used to provide a hint to the client as of which of these items  should be considered the "master", or root item. The official RCP client, for instance, uses  this flag to implement jumps \(or go\-tos\) from one item to the associated master item.

## Abstract Method: getItemFlags
- return type: `int`

Description: Retrieve the item flags. Currently, allowed flags are:
  \- [#ROLE_MASTER](#ROLE_MASTER)
  \- [#HAS_RELATED_ITEMS](#HAS_RELATED_ITEMS)
  

  For [code nodes](com.pnfsoftware.jeb.core.output.tree.ICodeNode.md), this is not to be confused with the generic flags.
return: the items flags

## Abstract Method: getItemId
- return type: `long`

Description: Retrieve the item id.
return: the item id, 0 if none

