com.sap.conn.jco

## Interface JCoUnitIdentifier

- All Superinterfaces:
    Serializable

      public interface JCoUnitIdentifier
      extends Serializable

  Function unit identifier is a unique identifier for a function or request unit for bgRFC. It contains an 16 byte ID (32 char in HEX representation) and unit type.

  Note: The implementation for this interface provided by the JCo runtime. Other implementations are not supported.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `JCoUnitIdentifier.Type` BgRFC unit types.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getID()` Returns the hexadecimal representation of the unit ID.
    `byte[]` | `getIDAsBytes()` Returns the unit ID.
    `JCoUnitIdentifier.Type` | `getType()` Returns the type of the unit.

- - ### Method Detail

    - #### getID

          String getID()

      Returns the hexadecimal representation of the unit ID. The unit ID is 16 bytes long, so the string is 32 chars long.
      Returns:
        32 chars string

    - #### getIDAsBytes

          byte[] getIDAsBytes()

      Returns the unit ID.
      Returns:
        16 byte unit id

    - #### getType

          JCoUnitIdentifier.Type getType()

      Returns the type of the unit.
      Returns:
        unit type

Copyright © 2016 SAP. All Rights Reserved.