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