public static interface Relationships.Read
| Modifier and Type | Method and Description |
|---|---|
Single |
get(String id)
Tries to find a single relationship in the current position in the inventory traversal.
|
Multiple |
getAll(RelationFilter... filters)
Returns access interface to all relationships conforming to provided filters in the current position in the
inventory traversal.
|
Relationships.Multiple |
named(Relationships.WellKnown name) |
Relationships.Multiple |
named(String name) |
Relationships.Multiple named(String name)
Relationships.Multiple named(Relationships.WellKnown name)
Single get(String id) throws EntityNotFoundException, RelationNotFoundException
id - the id of the relationship to find in the current traversal positionEntityNotFoundExceptionRelationNotFoundExceptionMultiple getAll(RelationFilter... filters)
filters - the (possibly empty) list of relationship filters to apply.Copyright © 2015 Red Hat, Inc.. All rights reserved.