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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturn String which contains a human readable description of this Operation.abstract Namename()Return the name of this Operationabstract intReturns the number of the response types that can be returned by this Operation.abstract SchemaElementDefinitionReturns a read-only SchemaElementDefinition which defines the schema for this Operationabstract SchemaTypeDefinitionDeprecated.abstract SchemaElementDefinitionresponseDefinition(int index) Returns a read-only SchemaElementDefinition which defines the schema of the 'index'th possible response that this Operation delivers.abstract SchemaElementDefinitionresponseDefinition(Name name) Returns a read-onlySchemaElementDefinitionwhich defines the schema of a possible response withnamethat thisOperationdelivers.abstract SchemaTypeDefinition[]Deprecated.As of new release, replaced bynumResponseDefinitions()andresponseDefinition(int)abstract Schema.Statusstatus()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-onlySchemaElementDefinitionwhich defines the schema of a possible response withnamethat thisOperationdelivers.- Throws:
NotFoundException- ifnamedoes not identify one of the possible responses thisOperationdelivers.
-
description
Return String which contains a human readable description of this Operation.
-
requestDefinition()instead