com.vmware.vcloud.sdk
Class VcloudEntity<T extends com.vmware.vcloud.api.rest.schema.IdentifiableResourceType>

java.lang.Object
  extended by com.vmware.vcloud.sdk.VcloudResource<T>
      extended by com.vmware.vcloud.sdk.VcloudEntity<T>
Direct Known Subclasses:
AbstractVapp, AdminAclRule, AdminApiDefinition, AdminCatalog, AdminOrganization, AdminOrgNetwork, AdminOrgVdcNetwork, AdminResourceClass, AdminResourceClassAction, AdminService, AdminServiceResource, AdminVdc, AdminVdcStorageProfile, ApiDefinition, AuditEvent, BlockingTask, Catalog, CatalogItem, Disk, EdgeGateway, ExternalNetwork, Group, Media, ObjectExtension, Organization, OrgNetwork, OrgVdcNetwork, ProviderVdc, ProviderVdcStorageProfile, Right, Role, Service, StrandedItem, Task, TaskList, User, VappNetwork, VappTemplate, Vdc, VdcStorageProfile, VdcTemplate, VmAffinityRule, VMWDatastore, VMWExternalNetwork, VMWHost, VMWNetworkPool, VMWProviderVdc, VMWProviderVdcStorageProfile, VMWVdcTemplate, VMWVimServer

public abstract class VcloudEntity<T extends com.vmware.vcloud.api.rest.schema.IdentifiableResourceType>
extends VcloudResource<T>

Base class for the Helper classes like Organization, vApp, Vdc, vAppTemplate, AdminOrganization etc. EntityType the base complex type for elements such as Org, vDC, and vApp.

Author:
EcosystemEngineering

Method Summary
 Metadata getMetadata()
          Retrieves the metadata helper for this vcloud entity.
 com.vmware.vcloud.api.rest.schema.ReferenceType getReference()
          Returns the reference of the entity
 List<Task> getTasks()
          Returns the list of tasks on this entity
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudResource
getResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTasks

public List<Task> getTasks()
Returns the list of tasks on this entity

Returns:
List

getReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getReference()
Returns the reference of the entity

Overrides:
getReference in class VcloudResource<T extends com.vmware.vcloud.api.rest.schema.IdentifiableResourceType>
Returns:
ReferenceType

getMetadata

public Metadata getMetadata()
                     throws VCloudException
Retrieves the metadata helper for this vcloud entity. The metadata tagging is available only for some of the entities in the User and Admin API - Organization, Vdc, Catalog, CatalogItem, Media, VappTemplate, VappTemplate VM, Vapp, Vapp VM, OrgVdcNetwork, AdminOrganization, AdminVdc, AdminCatalog, AdminOrgVdcNetwork, External Network, ProviderVdc etc.

Returns:
Metadata
Throws:
VCloudException


Copyright © 2016. All Rights Reserved.