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 typewith all of its derived types or with the specific type only, withno derived types. - An optional
properties conditionthat 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 conditionthat limits the world-links matching to a specific set. - An optional set of
propertiesto load on each item in the result. - An optional set of
complex type conditionswhich specifies a complex conditions on the type of the query element. Eachcomplex conditioncan 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 conditionand declare this typeto be ignoredin the result. In this case, the results will only be matched to thecomplex type conditionsand 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, withComplexTypeConditionMethods inherited from interface com.hp.ucmdb.api.topology.IdConditionable
ids, withIds, withIds, withIdsFromStrings, withIdsFromStrings, withIdsOf, withIdsOfMethods inherited from interface com.hp.ucmdb.api.topology.InterQueryRestrictableElement
addInterQueryElementRestrictions, addInterQueryElementRestrictions, interQueryElementRestrictionsMethods inherited from interface com.hp.ucmdb.api.topology.PropertiesCarrier
excludedProperties, excludeProperties, excludeProperty, getDefaultPropertiesToQuery, getPropertiesToQueryPerType, isPropertiesCarrierEmpty, propertiesCarrierBehavior, propertiesToQuery, queryKeyProperties, queryProperties, queryPropertiesWithQualifier, queryProperty, withPropertiesCarrierBehaviorMethods inherited from interface com.hp.ucmdb.api.topology.PropertiesConditionable
propertiesCondition, propertiesConditionBuilder, property, property, property, withPropertiesConditionsMethods inherited from interface com.hp.ucmdb.api.topology.QualifierConditionable
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategyMethods 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, withTargetCardinalityMethods inherited from interface com.hp.ucmdb.api.topology.SupportsInvisibility
invisible, isInvisibleMethods 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)
-