Package com.hp.ucmdb.api.topology
Interface DirectLink
- All Superinterfaces:
ComplexTypeConditionHandler<DirectLink>
,IdConditionable<DirectLink,
,Relation> InterQueryRestrictableElement<DirectLink>
,PropertiesCarrier<DirectLink>
,PropertiesConditionable<DirectLink>
,QualifierConditionable<DirectLink>
,QueryLink<DirectLink>
,SupportsInvisibility<QueryLink<DirectLink>>
,TypeConditionable<DirectLink>
public interface DirectLink
extends QueryLink<DirectLink>, TypeConditionable<DirectLink>, IdConditionable<DirectLink,Relation>, PropertiesConditionable<DirectLink>, PropertiesCarrier<DirectLink>, InterQueryRestrictableElement<DirectLink>, QualifierConditionable<DirectLink>, ComplexTypeConditionHandler<DirectLink>
Represent a query about a relation directly connecting two CIs, or a CI to itself.
This query link has:
- A
type
, which is either "any type
" (managed_relationship
), aspecific type
with all of its derived types or with the specific type only, withno derived types
. - An optional
properties condition
that limits the relations matching this QueryLink to those that match the given property condition. For example, the link has a specific value for an attribute. - An optional
IDs condition
that limits the world-links matching to a specific set. - An optional set of
properties
to load on each item in the result. - An optional set of
complex type conditions
which specifies a complex conditions on the type of the query element. Eachcomplex condition
can add or remove class types to be matched in the result. NOTE: The type of the link can be ignored for the results if needed. Just create acomplex condition
and declare this typeto be ignored
in the result. In this case, the results will only be matched to thecomplex type conditions
and not to the type of the link.
- Since:
- UCMDB 9.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstrictlyWithLinkOfType
(String type) Convenience method, equivalent to callingstrictlyOfType(type)
withLinkOfType
(String type) Convenience method, equivalent to callingofType(type)
Methods inherited from interface com.hp.ucmdb.api.topology.complextype.ComplexTypeConditionHandler
complexTypeConditionsSet, withComplexTypeCondition
Methods inherited from interface com.hp.ucmdb.api.topology.IdConditionable
ids, withIds, withIds, withIdsFromStrings, withIdsFromStrings, withIdsOf, withIdsOf
Methods inherited from interface com.hp.ucmdb.api.topology.InterQueryRestrictableElement
addInterQueryElementRestrictions, addInterQueryElementRestrictions, interQueryElementRestrictions
Methods inherited from interface com.hp.ucmdb.api.topology.PropertiesCarrier
excludedProperties, excludeProperties, excludeProperty, getDefaultPropertiesToQuery, getPropertiesToQueryPerType, isPropertiesCarrierEmpty, propertiesCarrierBehavior, propertiesToQuery, queryKeyProperties, queryProperties, queryPropertiesWithQualifier, queryProperty, withPropertiesCarrierBehavior
Methods inherited from interface com.hp.ucmdb.api.topology.PropertiesConditionable
propertiesCondition, propertiesConditionBuilder, property, property, property, withPropertiesConditions
Methods inherited from interface com.hp.ucmdb.api.topology.QualifierConditionable
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategy
Methods inherited from interface com.hp.ucmdb.api.topology.QueryLink
asDirectLink, asIndirectLink, asOnPropertiesLink, atLeast, atMost, elementNumber, exactly, getFromNode, getToNode, name, queryLinkType, restrictToSelfLinks, selfLinkFilter, setSelfLinkFilter, sourceMaxCardinality, sourceMinCardinality, sourceNode, targetMaxCardinality, targetMinCardinality, targetNode, withElementNumber, withName, withoutSelfLinks, withSourceCardinality, withTargetCardinality
Methods inherited from interface com.hp.ucmdb.api.topology.SupportsInvisibility
invisible, isInvisible
Methods inherited from interface com.hp.ucmdb.api.topology.TypeConditionable
isTypeStrict, noDerivedTypes, ofConfigurationItemType, ofITWorldType, ofType, strictlyOfType, type
-
Method Details
-
withLinkOfType
Convenience method, equivalent to callingofType(type)
-
strictlyWithLinkOfType
Convenience method, equivalent to callingstrictlyOfType(type)
-