public interface DirectLink extends QueryLink<DirectLink>, TypeConditionable<DirectLink>, IdConditionable<DirectLink,Relation>, PropertiesConditionable<DirectLink>, PropertiesCarrier<DirectLink>, InterQueryRestrictableElement<DirectLink>, QualifierConditionable<DirectLink>, ComplexTypeConditionHandler<DirectLink>
type
, which is either "any type
"
(managed_relationship
),
a specific type
with all of its derived types or with the
specific type only, with no derived types
.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.IDs condition
that limits the world-links
matching to a specific set.properties
to load on
each item in the result.complex type conditions
which specifies a complex conditions
on the type of the query element. Each complex 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 a complex condition
and declare this type
to be ignored
in the result.
In this case, the results will only be matched to the complex type conditions
and
not to the type of the link.Modifier and Type | Method and Description |
---|---|
DirectLink |
strictlyWithLinkOfType(String type)
Convenience method, equivalent to calling
strictlyOfType(type) |
DirectLink |
withLinkOfType(String type)
Convenience method, equivalent to calling
ofType(type) |
asDirectLink, asIndirectLink, asOnPropertiesLink, atLeast, atMost, exactly, getFromNode, getToNode, name, queryLinkType, restrictToSelfLinks, selfLinkFilter, setSelfLinkFilter, sourceMaxCardinality, sourceMinCardinality, sourceNode, targetMaxCardinality, targetMinCardinality, targetNode, withName, withoutSelfLinks, withSourceCardinality, withTargetCardinality
invisible, isInvisible
isTypeStrict, noDerivedTypes, ofConfigurationItemType, ofITWorldType, ofType, strictlyOfType, type
ids, withIds, withIds, withIdsFromStrings, withIdsFromStrings, withIdsOf, withIdsOf
propertiesCondition, propertiesConditionBuilder, property, property, property, withPropertiesConditions
excludedProperties, excludeProperties, excludeProperty, getDefaultPropertiesToQuery, getPropertiesToQueryPerType, isPropertiesCarrierEmpty, propertiesCarrierBehavior, propertiesToQuery, queryKeyProperties, queryProperties, queryPropertiesWithQualifier, queryProperty, withPropertiesCarrierBehavior
addInterQueryElementRestrictions, addInterQueryElementRestrictions, interQueryElementRestrictions
qualifierMatchingStrategy, qualifiersRestrictiedTo, restrictToQualifiers, restrictToQualifiers, withQualifierMatchingStrategy
complexTypeConditionsSet, withComplexTypeCondition
DirectLink withLinkOfType(String type)
ofType(type)
DirectLink strictlyWithLinkOfType(String type)
strictlyOfType(type)
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.