org.openorb.pss.connector.file

Class FilePID

public class FilePID extends Object implements PID

This class is a PID implementation for file persistence.

Author: Jerome Daniel

Constructor Summary
FilePID(long catalog, long index, ORBInitInfo info)
Constructor
FilePID(byte[] catalog, long index, ORBInitInfo info)
Constructor
FilePID(byte[] catalog, byte[] index)
Constructor
FilePID(byte[] pid, ORBInitInfo info)
Constructor
Method Summary
byte[]catalog_value()
This operations return the CATALOG PID value.
Stringcatalog_value_str()
This operations return the CATALOG PID value as a string.
booleanis_same(byte[] value)
Return TRUE if the parameter has the same pid value
booleanis_same(PID pid)
Return TRUE if the parameter has the same pid value
booleanis_same_catalog(byte[] value)
Return TRUE if the parameter has the same catalog pid value
booleanis_same_short(byte[] value)
Return TRUE if the parameter has the same short pid value
byte[]short_value()
This operation returns the SHORT PID value.
Stringshort_value_str()
This operation returns the SHORT PID value as a string.
byte[]value()
This operation returns the PID value.
Stringvalue_str()
This operation returns the PID value as a string.

Constructor Detail

FilePID

public FilePID(long catalog, long index, ORBInitInfo info)
Constructor

FilePID

public FilePID(byte[] catalog, long index, ORBInitInfo info)
Constructor

FilePID

public FilePID(byte[] catalog, byte[] index)
Constructor

FilePID

public FilePID(byte[] pid, ORBInitInfo info)
Constructor

Method Detail

catalog_value

public byte[] catalog_value()
This operations return the CATALOG PID value.

catalog_value_str

public String catalog_value_str()
This operations return the CATALOG PID value as a string.

is_same

public boolean is_same(byte[] value)
Return TRUE if the parameter has the same pid value

is_same

public boolean is_same(PID pid)
Return TRUE if the parameter has the same pid value

is_same_catalog

public boolean is_same_catalog(byte[] value)
Return TRUE if the parameter has the same catalog pid value

is_same_short

public boolean is_same_short(byte[] value)
Return TRUE if the parameter has the same short pid value

short_value

public byte[] short_value()
This operation returns the SHORT PID value.

short_value_str

public String short_value_str()
This operation returns the SHORT PID value as a string.

value

public byte[] value()
This operation returns the PID value.

value_str

public String value_str()
This operation returns the PID value as a string.