com.xensource.xenapi
Class XenAPIObject

java.lang.Object
  extended by com.xensource.xenapi.XenAPIObject
Direct Known Subclasses:
Auth, Blob, Bond, Console, Crashdump, DataSource, DRTask, Event, GPUGroup, Host, HostCpu, HostCrashdump, HostMetrics, HostPatch, Message, Network, PBD, PCI, PGPU, PIF, PIFMetrics, Pool, PoolPatch, Role, Secret, Session, SM, SR, Subject, Task, Tunnel, User, VBD, VBDMetrics, VDI, VGPU, VGPUType, VIF, VIFMetrics, VLAN, VM, VMAppliance, VMGuestMetrics, VMMetrics, VMPP, VTPM

public abstract class XenAPIObject
extends java.lang.Object


Constructor Summary
XenAPIObject()
           
 
Method Summary
 boolean isNull()
          When XAPI returns a null, it actually gets changed into an object that contains the string "OpaqueRef:NULL".
abstract  java.lang.String toWireString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XenAPIObject

public XenAPIObject()
Method Detail

toWireString

public abstract java.lang.String toWireString()

isNull

public boolean isNull()
When XAPI returns a null, it actually gets changed into an object that contains the string "OpaqueRef:NULL". This is a convenience method to check if a XenAPIObject is in fact null in XAPI's eyes.