public class StructureStub extends com.vmware.vapi.internal.bindings.Stub implements Structure
Structure
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, securityContext
RESOURCE_TYPE
Constructor and Description |
---|
StructureStub(ApiProvider apiProvider,
StubConfigurationBase config) |
StructureStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
StructureInfo |
get(java.lang.String structureId)
Retrieves information about the structure element corresponding to
structureId . |
void |
get(java.lang.String structureId,
AsyncCallback<StructureInfo> asyncCallback)
Retrieves information about the structure element corresponding to
structureId . |
void |
get(java.lang.String structureId,
AsyncCallback<StructureInfo> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the structure element corresponding to
structureId . |
StructureInfo |
get(java.lang.String structureId,
InvocationConfig invocationConfig)
Retrieves information about the structure element corresponding to
structureId . |
java.util.List<java.lang.String> |
list()
Returns the identifiers for the structure elements that are contained in all the
package elements and service elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns the identifiers for the structure elements that are contained in all the
package elements and service elements.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the structure elements that are contained in all the
package elements and service elements.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the structure elements that are contained in all the
package elements and service elements.
|
public StructureStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StructureStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<java.lang.String> list()
Structure
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Structure
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Structure
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The list of identifiers for the structure elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.structure
.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Structure
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The list of identifiers for the structure elements.
The return value will contain identifiers for the resource type: com.vmware.vapi.structure
.
public StructureInfo get(java.lang.String structureId)
Structure
structureId
.
The StructureInfo
contains the metamodel information about the structure element. It contains
information about all the field elements and enumeration elements contained in
this structure element.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Structure
structureId
- Identifier of the structure element.
The parameter must be an identifier for the resource type: com.vmware.vapi.structure
.StructureInfo
instance that
corresponds to structureId
.public StructureInfo get(java.lang.String structureId, InvocationConfig invocationConfig)
Structure
structureId
.
The StructureInfo
contains the metamodel information about the structure element. It contains
information about all the field elements and enumeration elements contained in
this structure element.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Structure
structureId
- Identifier of the structure element.
The parameter must be an identifier for the resource type: com.vmware.vapi.structure
.invocationConfig
- Configuration for the method invocation.StructureInfo
instance that
corresponds to structureId
.public void get(java.lang.String structureId, AsyncCallback<StructureInfo> asyncCallback)
Structure
structureId
.
The StructureInfo
contains the metamodel information about the structure element. It contains
information about all the field elements and enumeration elements contained in
this structure element.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The StructureInfo
instance that
corresponds to structureId
.
Operation Errors:
NotFound
- if the structure element associated with structureId
is not contained in
any of the package elements or service elements.
public void get(java.lang.String structureId, AsyncCallback<StructureInfo> asyncCallback, InvocationConfig invocationConfig)
Structure
structureId
.
The StructureInfo
contains the metamodel information about the structure element. It contains
information about all the field elements and enumeration elements contained in
this structure element.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
The StructureInfo
instance that
corresponds to structureId
.
Operation Errors:
NotFound
- if the structure element associated with structureId
is not contained in
any of the package elements or service elements.
get
in interface Structure
structureId
- Identifier of the structure element.
The parameter must be an identifier for the resource type: com.vmware.vapi.structure
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.