Package com.vmware.vim25.mo.util
Class MorUtil
java.lang.Object
com.vmware.vim25.mo.util.MorUtil
Utility class for the Managed Object and ManagedObjectReference.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedEntityGiven a ServerConnection and a MOR return the MEstatic ManagedObjectGiven the ServerConnection and a MOR return the MOstatic ManagedEntity[]Given a ServerConnection and an array of MORs return an array of MEsstatic ManagedObjectReferencestatic ManagedObjectReference[]createMORs(ManagedObject[] mos) Takes an array of ManagedObjects and returns the MOR for each MO
-
Field Details
-
moPackageName
Package name used for class generation- See Also:
-
-
Constructor Details
-
MorUtil
public MorUtil()
-
-
Method Details
-
createMORs
Takes an array of ManagedObjects and returns the MOR for each MO- Parameters:
mos-- Returns:
-
createExactManagedObject
public static ManagedObject createExactManagedObject(ServerConnection sc, ManagedObjectReference mor) Given the ServerConnection and a MOR return the MO- Parameters:
sc-mor-- Returns:
-
createExactManagedEntity
public static ManagedEntity createExactManagedEntity(ServerConnection sc, ManagedObjectReference mor) Given a ServerConnection and a MOR return the ME- Parameters:
sc-mor-- Returns:
-
createManagedEntities
public static ManagedEntity[] createManagedEntities(ServerConnection sc, ManagedObjectReference[] mors) Given a ServerConnection and an array of MORs return an array of MEs- Parameters:
sc-mors-- Returns:
-
createMOR
-