|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.vmware.apputils.EntityHelper
public class EntityHelper
Helper methods for using entity reference objects.
| Constructor Summary | |
|---|---|
EntityHelper()
|
|
| Method Summary | |
|---|---|
static com.vmware.vim.sms.EntityReference |
parseEntityReference(com.vmware.vim.ManagedObjectReference mor)
Takes a VC ManagedObjectReference Id and constructs a valid EntityReference from it. |
static com.vmware.vim.ManagedObjectReference |
parseMOR(com.vmware.vim.sms.EntityReference entity)
Converts the given entity reference, which represents a managed object, to a ManagedObjectReference type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityHelper()
| Method Detail |
|---|
public static com.vmware.vim.sms.EntityReference parseEntityReference(com.vmware.vim.ManagedObjectReference mor)
throws com.vmware.apputils.ArgumentHandlingException
mor - managed object reference to translate
ArgumentHandlingException - if input mor is invalid
public static com.vmware.vim.ManagedObjectReference parseMOR(com.vmware.vim.sms.EntityReference entity)
throws com.vmware.apputils.ArgumentHandlingException
entity - MO entity reference
ArgumentHandlingException - if an invalid entity is specified
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||