VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vapi::Metadata::Metamodel::ComponentData Class Reference
Inheritance diagram for Com::Vmware::Vapi::Metadata::Metamodel::ComponentData:

Avaliable Methods

public method get_info ()
 
public method get_fingerprint ()
 
public method set_fingerprint ()
 
public method set_info ()
 
public method new ()
 

Detailed Description

The Com::Vmware::Vapi::Metadata::Metamodel::ComponentData class contains the metamodel metadata information of a component element along with its fingerprint.

Member Function Documentation

public method Com::Vmware::Vapi::Metadata::Metamodel::ComponentData::get_fingerprint ( )

Gets the value of 'fingerprint' property.

Return values
fingerprint- The current value of the field. Fingerprint of the metamodel metadata of the component component.

Metamodel information could change when there is an infrastructure update and new functionality is added to an existing component.

Since the data present in :attr:Com::Vmware::Vapi::Metadata::Metamodel::ComponentData.info could be quite large, fingerprint provides a convenient way to check if the data for a particular component is updated.

You should store the fingerprint associated with a component. After an update, by invoking the :func:Com::Vmware::Vapi::Metadata::Metamodel::Component.fingerprint method* , you can retrieve the new fingerprint for the component. If the new fingerprint and the previously stored fingerprint do not match, clients can use the :func:Com::Vmware::Vapi::Metadata::Metamodel::Component.get to retrieve the new metamodel information for the component.

String#

Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::ComponentData::get_info ( )

Gets the value of 'info' property.

Return values
info- The current value of the field. Metamodel information of the component element. This includes information about all the package elements contained in this component element.

The metamodel information about a component could be quite large if there are a lot of package elements contained in this component.

ComponentInfo#

Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::ComponentData::new ( )

Constructor to initialize the Com::Vmware::Vapi::Metadata::Metamodel::ComponentData structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::ComponentData::set_fingerprint ( )

Sets the given value for 'fingerprint' property.

Parameters
fingerprint- New value for the field. Fingerprint of the metamodel metadata of the component component.

Metamodel information could change when there is an infrastructure update and new functionality is added to an existing component.

Since the data present in :attr:Com::Vmware::Vapi::Metadata::Metamodel::ComponentData.info could be quite large, fingerprint provides a convenient way to check if the data for a particular component is updated.

You should store the fingerprint associated with a component. After an update, by invoking the :func:Com::Vmware::Vapi::Metadata::Metamodel::Component.fingerprint method* , you can retrieve the new fingerprint for the component. If the new fingerprint and the previously stored fingerprint do not match, clients can use the :func:Com::Vmware::Vapi::Metadata::Metamodel::Component.get to retrieve the new metamodel information for the component.

Code:
click to view
public method Com::Vmware::Vapi::Metadata::Metamodel::ComponentData::set_info ( )

Sets the given value for 'info' property.

Parameters
info- New value for the field. Metamodel information of the component element. This includes information about all the package elements contained in this component element.

The metamodel information about a component could be quite large if there are a lot of package elements contained in this component.

Code:
click to view

The documentation for this class was generated from the following file: