public static class EmptyInventory.RelationshipsSingle extends Object implements Relationships.Single
| Constructor and Description |
|---|
RelationshipsSingle() |
| Modifier and Type | Method and Description |
|---|---|
Relationship |
entity()
Resolves the entity and returns it.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistspublic Relationship entity() throws EntityNotFoundException, RelationNotFoundException
ResolvableToSingleentity in interface ResolvableToSingle<Relationship>EntityNotFoundException - 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.