public interface Structure extends Service, StructureTypes
Structure
interface providers methods to retrieve metamodel
information about a structure element in the interface definition language.RESOURCE_TYPE
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.
|
java.util.List<java.lang.String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.structure
.java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.com.vmware.vapi.structure
.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
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
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
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
.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.StructureInfo get(java.lang.String structureId)
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.
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
.NotFound
- if the structure element associated with structureId
is not contained in
any of the package elements or service elements.StructureInfo get(java.lang.String structureId, InvocationConfig invocationConfig)
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.
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
.NotFound
- if the structure element associated with structureId
is not contained in
any of the package elements or service elements.void get(java.lang.String structureId, AsyncCallback<StructureInfo> asyncCallback)
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.
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.void get(java.lang.String structureId, AsyncCallback<StructureInfo> asyncCallback, InvocationConfig invocationConfig)
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.
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.