org.openorb.pss.connector.database

Class PIDFactory

public class PIDFactory extends Object

This class provides static operation to manage PID.

Author: Jerome Daniel

Field Summary
static ORBInitInfoinfo
Reference to the ORBInitInfo
Method Summary
static PIDpid_byte_to_pid(byte[] pid)
static byte[]pid_to_catalog_pid(byte[] pid)
This operation returns a catalog pid from a pid
static byte[]pid_to_short_pid(byte[] pid)
This operation returns a short pid from a pid
static PIDshort_pid_to_pid(byte[] short_pid, PID home_pid)

Field Detail

info

public static ORBInitInfo info
Reference to the ORBInitInfo

Method Detail

pid_byte_to_pid

public static PID pid_byte_to_pid(byte[] pid)

pid_to_catalog_pid

public static byte[] pid_to_catalog_pid(byte[] pid)
This operation returns a catalog pid from a pid

pid_to_short_pid

public static byte[] pid_to_short_pid(byte[] pid)
This operation returns a short pid from a pid

short_pid_to_pid

public static PID short_pid_to_pid(byte[] short_pid, PID home_pid)