Package com.hp.ucmdb.api.topology
Interface IdConditionable<E,T extends Element>
- Type Parameters:
E
- the extending element type, used for method chaining.T
- the type of elements (CIs or Relations) that can be used for thewithIdsOf(T...)
methods.
- All Known Subinterfaces:
DirectLink
,IndirectLinkStepFromPart
,IndirectLinkStepLinkPart
,IndirectLinkStepToPart
,QueryNode
,ReachableSetStepFromPart
,ReachableSetStepLinkPart
,ReachableSetStepToPart
public interface IdConditionable<E,T extends Element>
Indicates that the extending element may have an IDs condition.
- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionids()
Returns the ids previously set using any of the "withIds..." methods, or an empty collection if none of these methods was used.Restricts the set of matching elements to those having the specified IDs.Restricts the set of matching elements to those having the IDs returned by the given iterable.withIdsFromStrings
(Iterable<String> idsAsStrings) Restricts the set of matching elements to those having the IDs returned by the given iterable.withIdsFromStrings
(String... idsAsStrings) Restricts the set of matching elements to those having the specified IDs.Restricts the set of matching elements to those whose IDs are specified by the elements in the returned by the iterable.Restricts the set of matching elements to those whose IDs are specified by the elements in the set.
-
Method Details
-
withIds
Restricts the set of matching elements to those having the specified IDs.- Returns:
- this object. The returned object can be used for method chaining.
- See Also:
-
withIds
Restricts the set of matching elements to those having the IDs returned by the given iterable.- Returns:
- this object. The returned object can be used for method chaining.
- See Also:
-
withIdsFromStrings
Restricts the set of matching elements to those having the specified IDs. The ID strings can be obtained withUcmdbId.getAsString()
- Returns:
- this object. The returned object can be used for method chaining.
- See Also:
-
withIdsFromStrings
Restricts the set of matching elements to those having the IDs returned by the given iterable. The ID strings can be obtained withUcmdbId.getAsString()
- Returns:
- this object. The returned object can be used for method chaining.
- See Also:
-
withIdsOf
Restricts the set of matching elements to those whose IDs are specified by the elements in the set.- Returns:
- this object (to allow method chaining)
- See Also:
-
withIdsOf
Restricts the set of matching elements to those whose IDs are specified by the elements in the returned by the iterable.- Returns:
- this object (to allow method chaining)
- See Also:
-
ids
Collection<UcmdbId> ids()Returns the ids previously set using any of the "withIds..." methods, or an empty collection if none of these methods was used.- See Also:
-