planetj.database
Class PhysicalTable

java.lang.Object
  |
  +--planetj.database.PhysicalTable
All Implemented Interfaces:
ITable, Serializable

public class PhysicalTable
extends Object
implements ITable

Contains information about the phyisical location of a table (as opposed to the "logical" information stored by the Table class)

See Also:
Serialized Form

Method Summary
 byte[] getIPAddress()
          Gets the IP address of the system containing this ITable
 String getKey()
          Gets the key with which this PhysicalTableInfo object is stored in the Map
 long getLastUpdated()
          Gets when this table was last updated via the DataEngine.
 String getLibraryName()
          Gets the name of the library which contains this ITable
 String getName()
          Gets the name of this ITable
static PhysicalTable getPhysicalTable(Table pTable)
          Gets the PhysicalTable object which corresponds to the given table
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIPAddress

public byte[] getIPAddress()
Description copied from interface: ITable
Gets the IP address of the system containing this ITable

Specified by:
getIPAddress in interface ITable

getKey

public String getKey()
Gets the key with which this PhysicalTableInfo object is stored in the Map


getLastUpdated

public long getLastUpdated()
Gets when this table was last updated via the DataEngine. Long.MIN_VALUE is returned if the last update time is unknown


getLibraryName

public String getLibraryName()
Description copied from interface: ITable
Gets the name of the library which contains this ITable

Specified by:
getLibraryName in interface ITable

getName

public String getName()
Description copied from interface: ITable
Gets the name of this ITable

Specified by:
getName in interface ITable

getPhysicalTable

public static PhysicalTable getPhysicalTable(Table pTable)
Gets the PhysicalTable object which corresponds to the given table