public static class BaseRelationships.Multiple<BE> extends Traversal<BE,E> implements Relationships.Multiple
| Constructor and Description |
|---|
Multiple(Relationships.Direction direction,
TraversalContext<BE,Relationship> context) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the entity.
|
Page<E> |
entities(Pager pager) |
E |
entity()
Resolves the entity and returns it.
|
Environments.Read |
environments() |
Feeds.Read |
feeds() |
Metrics.Read |
metrics() |
MetricTypes.Read |
metricTypes() |
Resources.Read |
resources() |
ResourceTypes.Read |
resourceTypes() |
Tenants.Read |
tenants() |
void |
update(U u)
Updates the entity.
|
getSingle, isApplicable, mutating, readOnlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanyExists, entities, entitiesexistspublic Multiple(Relationships.Direction direction, TraversalContext<BE,Relationship> context)
public Tenants.Read tenants()
tenants in interface Relationships.Multiplepublic Environments.Read environments()
environments in interface Relationships.Multiplepublic Feeds.Read feeds()
feeds in interface Relationships.Multiplepublic MetricTypes.Read metricTypes()
metricTypes in interface Relationships.Multiplepublic Metrics.Read metrics()
metrics in interface Relationships.Multiplepublic Resources.Read resources()
resources in interface Relationships.Multiplepublic ResourceTypes.Read resourceTypes()
resourceTypes in interface Relationships.Multiplepublic E entity()
throws EntityNotFoundException,
RelationNotFoundException
ResolvableToSingleentity in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>EntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic void delete()
ResolvableToSingledelete in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>public void update(U u)
throws EntityNotFoundException,
RelationNotFoundException
ResolvableToSingleupdate in interface ResolvableToSingle<E extends AbstractElement<?,U>,U extends AbstractElement.Update>u - the update to be appliedEntityNotFoundException - if there is no entity corresponding to the traversalRelationNotFoundException - if there is no relation corresponding to the traversalpublic Page<E> entities(Pager pager)
entities in interface ResolvableToMany<E extends AbstractElement<?,U>>pager - the pager object describing the subset of the entities to returnCopyright © 2015 Red Hat, Inc.. All rights reserved.