public final class Tenant extends Entity<Tenant.Blueprint,Tenant.Update>
Note that the tenant does not have a dedicated blueprint type (i.e. data required to create a new tenant
in some context), because the only data needed to create a new tenant is its ID, which can easily be modelled
by a String.
| Modifier and Type | Class and Description |
|---|---|
static class |
Tenant.Blueprint |
static class |
Tenant.Update |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>ID_PROPERTY, properties| Constructor and Description |
|---|
Tenant(CanonicalPath path) |
Tenant(CanonicalPath path,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
AbstractElement.Updater<Tenant.Update,Tenant> |
update() |
appendToString, toStringequals, getId, getPath, getProperties, hashCode, valueOrDefaultpublic Tenant(CanonicalPath path)
public Tenant(CanonicalPath path, Map<String,Object> properties)
public AbstractElement.Updater<Tenant.Update,Tenant> update()
update in class AbstractElement<Tenant.Blueprint,Tenant.Update>public <R,P> R accept(ElementVisitor<R,P> visitor, P parameter)
AbstractElementaccept in class AbstractElement<Tenant.Blueprint,Tenant.Update>R - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorCopyright © 2015 Red Hat, Inc.. All rights reserved.