public static class EmptyInventory.TenantsSingle extends Object implements Tenants.Single
| Constructor and Description |
|---|
TenantsSingle() |
| Modifier and Type | Method and Description |
|---|---|
Tenant |
entity()
Resolves the entity and returns it.
|
Environments.ReadWrite |
environments() |
MetricTypes.ReadWrite |
metricTypes() |
Relationships.ReadWrite |
relationships() |
Relationships.ReadWrite |
relationships(Relationships.Direction direction) |
ResourceTypes.ReadWrite |
resourceTypes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistspublic ResourceTypes.ReadWrite resourceTypes()
public MetricTypes.ReadWrite metricTypes()
public Environments.ReadWrite environments()
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 Tenant 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.