com.vmware.vim25.mo
Class ExtensibleManagedObject

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ExtensibleManagedObject
Direct Known Subclasses:
Alarm, HostFirewallSystem, HostMemorySystem, HostNetworkSystem, HostPciPassthruSystem, HostServiceSystem, HostStorageSystem, HostVirtualNicManager, HostVMotionSystem, ManagedEntity, ScheduledTask, Task

public abstract class ExtensibleManagedObject
extends ManagedObject

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
ExtensibleManagedObject(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 CustomFieldDef[] getAvailableField()
           
 CustomFieldValue[] getValues()
           
 void setCustomValue(String key, String value)
           
 
Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensibleManagedObject

public ExtensibleManagedObject(ServerConnection serverConnection,
                               ManagedObjectReference mor)
Method Detail

getAvailableField

public CustomFieldDef[] getAvailableField()
                                   throws InvalidProperty,
                                          RuntimeFault,
                                          RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

getValues

public CustomFieldValue[] getValues()
                             throws InvalidProperty,
                                    RuntimeFault,
                                    RemoteException
Throws:
InvalidProperty
RuntimeFault
RemoteException

setCustomValue

public void setCustomValue(String key,
                           String value)
                    throws RuntimeFault,
                           RemoteException
Throws:
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.