public static class EmptyInventory.FeedsSingle extends Object implements Feeds.Single
| Constructor and Description |
|---|
FeedsSingle() |
| Modifier and Type | Method and Description |
|---|---|
Feed |
entity()
Resolves the entity and returns it.
|
Metrics.ReadWrite |
metrics() |
Relationships.ReadWrite |
relationships() |
Relationships.ReadWrite |
relationships(Relationships.Direction direction) |
Resources.ReadWrite |
resources() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistspublic Resources.ReadWrite resources()
public Metrics.ReadWrite metrics()
public Relationships.ReadWrite relationships()
public Relationships.ReadWrite relationships(Relationships.Direction direction)
direction - the direction of the relation (aka edge) This is needed because relationships are not
bidirectional.public Feed entity() throws EntityNotFoundException, RelationNotFoundException
ResolvableToSingleEntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalCopyright © 2015 Red Hat, Inc.. All rights reserved.