public class

UnitFragmentPosition

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.client.api.UnitFragmentPosition

Class Overview

Position in a unit fragment.

Summary

Public Constructors
UnitFragmentPosition(IUnit unit, IUnitFragment fragment, IGenericDocument doc, String address, IItem item)
Public Methods
String getAddress()
IGenericDocument getDoc()
IUnitFragment getFragment()
IItem getItem()
IUnit getUnit()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UnitFragmentPosition (IUnit unit, IUnitFragment fragment, IGenericDocument doc, String address, IItem item)

Parameters
unit mandatory
fragment mandatory

Public Methods

public String getAddress ()

Returns
  • optional active address in the unit fragment (in which case the unit likely inherits IAddressableUnit)

public IGenericDocument getDoc ()

Returns
  • optional document (some fragments render unit information directly, without making use of documents)

public IUnitFragment getFragment ()

Returns
  • non-null UI fragment

public IItem getItem ()

Returns
  • optional active item in the unit fragment (in which case the unit likely inherits IAddressableUnit)

public IUnit getUnit ()

Returns
  • non-null unit

public String toString ()