public static class BaseRelationships.Read<BE> extends Traversal<BE,Relationship> implements Relationships.Read
| Constructor and Description |
|---|
Read(TraversalContext<BE,Relationship> context) |
| Modifier and Type | Method and Description |
|---|---|
Relationships.Single |
get(String id)
Tries to find a single relationship in the current position in the inventory traversal.
|
Relationships.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) |
getSingle, isApplicable, mutating, readOnlypublic Read(TraversalContext<BE,Relationship> context)
public Relationships.Multiple named(String name)
named in interface Relationships.Readpublic Relationships.Multiple named(Relationships.WellKnown name)
named in interface Relationships.Readpublic Relationships.Single get(String id) throws EntityNotFoundException, RelationNotFoundException
id - the id of the relationship to find in the current traversal positionEntityNotFoundExceptionRelationNotFoundExceptionpublic Relationships.Multiple getAll(RelationFilter... filters)
filters - the (possibly empty) list of relationship filters to apply.Copyright © 2015 Red Hat, Inc.. All rights reserved.