arlut.csd.ganymede
Class xInvid

java.lang.Object
  |
  +--arlut.csd.ganymede.xInvid

class xInvid
extends java.lang.Object

This class is used by the Ganymede XML client to represent an invid object reference field value. This field value may or may not be fully resolved to an actual invid on the server, depending on what stage of processing the XML client is in.


Field Summary
(package private)  int num
          The numeric object id, if specified in the XML file for this xInvid.
(package private)  java.lang.String objectId
          The id string for this xInvid from the XML file.
(package private)  short typeId
          The numeric type id for the object type this xInvid is meant to point to.
 
Constructor Summary
xInvid(XMLItem item)
           
 
Method Summary
 Invid getInvid()
          This method resolves and returns the Invid for this xInvid place holder, talking to the server if necessary to resolve an id string.
private  GanymedeXMLSession getXSession()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

typeId

short typeId

The numeric type id for the object type this xInvid is meant to point to.

In the XML file, this field is derived from the type attribute, after doing an object type lookup in the server's data structures


objectId

java.lang.String objectId

The id string for this xInvid from the XML file. Will be used to resolve this xInvid to an actual Invid on the server, if set.

In the XML file, this field is taken from the id attribute.


num

int num

The numeric object id, if specified in the XML file for this xInvid.

Constructor Detail

xInvid

public xInvid(XMLItem item)
Method Detail

getInvid

public Invid getInvid()

This method resolves and returns the Invid for this xInvid place holder, talking to the server if necessary to resolve an id string.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getXSession

private GanymedeXMLSession getXSession()