public static class EmptyInventory.RelationshipsSingle extends Object implements Relationships.Single
| Constructor and Description |
|---|
RelationshipsSingle() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the entity.
|
Relationship |
entity()
Resolves the entity and returns it.
|
void |
update(Relationship.Update o)
Updates the entity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistspublic Relationship entity() throws EntityNotFoundException, RelationNotFoundException
ResolvableToSingleentity in interface ResolvableToSingle<Relationship,Relationship.Update>EntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic void update(Relationship.Update o) throws EntityNotFoundException, RelationNotFoundException
ResolvableToSingleupdate in interface ResolvableToSingle<Relationship,Relationship.Update>o - the update to be appliedEntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic void delete()
ResolvableToSingledelete in interface ResolvableToSingle<Relationship,Relationship.Update>Copyright © 2015 Red Hat, Inc.. All rights reserved.