Package com.bloomberglp.blpapi
Class Operation
java.lang.Object
com.bloomberglp.blpapi.Operation
Operation objects are obtained from a
Service
object and it represents an Operation that
can be executed on a Service. Operation provides read-only access to the schema of the
Operation's Request and the schema of the possible responses.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Return String which contains a human readable description of this Operation.abstract Name
name()
Return the name of this Operationabstract int
Returns the number of the response types that can be returned by this Operation.abstract SchemaElementDefinition
Returns a read-only SchemaElementDefinition which defines the schema for this Operationabstract SchemaTypeDefinition
Deprecated.abstract SchemaElementDefinition
responseDefinition
(int index) Returns a read-only SchemaElementDefinition which defines the schema of the 'index'th possible response that this Operation delivers.abstract SchemaElementDefinition
responseDefinition
(Name name) Returns a read-onlySchemaElementDefinition
which defines the schema of a possible response withname
that thisOperation
delivers.abstract SchemaTypeDefinition[]
Deprecated.As of new release, replaced bynumResponseDefinitions()
andresponseDefinition(int)
abstract Schema.Status
status()
Return the status of this Operation
-
Constructor Details
-
Operation
public Operation()
-
-
Method Details
-
name
Return the name of this Operation -
status
Return the status of this Operation -
requestType
Deprecated.as of 3.2.1, userequestDefinition()
insteadReturn the TypeDefinition of request for this Operation -
requestDefinition
Returns a read-only SchemaElementDefinition which defines the schema for this Operation -
responseType
Deprecated.As of new release, replaced bynumResponseDefinitions()
andresponseDefinition(int)
Return the TypeDefinitions of the possible responses for this Operation -
numResponseDefinitions
public abstract int numResponseDefinitions()Returns the number of the response types that can be returned by this Operation. -
responseDefinition
Returns a read-only SchemaElementDefinition which defines the schema of the 'index'th possible response that this Operation delivers.- Throws:
IndexOutOfBoundsException
- ifindex >=
numResponseDefinitions()
-
responseDefinition
Returns a read-onlySchemaElementDefinition
which defines the schema of a possible response withname
that thisOperation
delivers.- Throws:
NotFoundException
- ifname
does not identify one of the possible responses thisOperation
delivers.
-
description
Return String which contains a human readable description of this Operation.
-
requestDefinition()
instead