com.hp.ucmdb.api.topology
Interface MultipleReferencesWithFunctionDefinition

All Superinterfaces:
BundledResource<QueryReferenceDefinition>, QueryReferenceDefinition<MultipleReferencesWithFunctionDefinition>

@NotFinalAPI
public interface MultipleReferencesWithFunctionDefinition
extends QueryReferenceDefinition<MultipleReferencesWithFunctionDefinition>

This definition applies a function over a collection of base queries and uses the resulting QueryDefinition. The function applies was returned by queryFunction(). The base queries can be obtained with baseQueriesNames()/ The particulars of each query function are defined in the QueriesFunction enum.

A Query object with this definition returns the flattened QueryDefinition. This is the result of the function applied over the base queries.

In addition to the query function and the base queries, this definition also holds a mapping between the query definition returned by the Query object and the original base queries names.

Since:
UCMDB 9.0

Method Summary
 java.util.Collection<java.lang.String> baseQueriesNames()
          The base queries this definition is referencing.
 java.util.Map<java.lang.String,QueryNodeOrigin> getQueryNodeOrigins()
          The node name to node mapping (original query / original name) map.
 QueriesFunction queryFunction()
          The function applied over the base query names to create this definition.
 
Methods inherited from interface com.hp.ucmdb.api.topology.QueryReferenceDefinition
asMultipleReferencesWithFunctionDefinition, asSingleQueryReferenceDefinition, description, firstLoadStrategy, name, recalcPriority, referenceDefinitionType, toExecutable, withDescription, withFirstLoadStrategy, withRecalcPriority
 
Methods inherited from interface com.hp.ucmdb.api.bundles.BundledResource
bundleNames, withBundles
 

Method Detail

baseQueriesNames

java.util.Collection<java.lang.String> baseQueriesNames()
The base queries this definition is referencing.

Returns:
The base queries this definition is referencing.

queryFunction

QueriesFunction queryFunction()
The function applied over the base query names to create this definition.

Returns:
The function applied over the base query names to create this definition.

getQueryNodeOrigins

@NotFinalAPI
java.util.Map<java.lang.String,QueryNodeOrigin> getQueryNodeOrigins()
The node name to node mapping (original query / original name) map.

Returns:
The node name to node mapping (original query / original name) map.


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.