public final class ResourceType extends TenantBasedEntity<ResourceType.Blueprint,ResourceType.Update>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceType.Blueprint
Data required to create a resource type.
|
static class |
ResourceType.Update |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>id, ID_PROPERTY, properties| Constructor and Description |
|---|
ResourceType(String tenantId,
String id,
String version) |
ResourceType(String tenantId,
String id,
String version,
Map<String,Object> properties) |
ResourceType(String tenantId,
String id,
Version version) |
ResourceType(String tenantId,
String id,
Version version,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(EntityVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
protected void |
appendToString(StringBuilder toStringBuilder)
Use this to append additional information to the string representation of this instance
returned from the (final)
Entity.toString(). |
boolean |
equals(Object o) |
Version |
getVersion() |
int |
hashCode() |
AbstractElement.Updater<ResourceType.Update,ResourceType> |
update() |
getTenantIdgetId, getProperties, valueOrDefaultpublic ResourceType(String tenantId, String id, String version, Map<String,Object> properties)
public AbstractElement.Updater<ResourceType.Update,ResourceType> update()
update in class AbstractElement<ResourceType.Blueprint,ResourceType.Update>public Version getVersion()
public boolean equals(Object o)
equals in class TenantBasedEntity<ResourceType.Blueprint,ResourceType.Update>public int hashCode()
hashCode in class TenantBasedEntity<ResourceType.Blueprint,ResourceType.Update>public <R,P> R accept(EntityVisitor<R,P> visitor, P parameter)
Entityaccept in class Entity<ResourceType.Blueprint,ResourceType.Update>R - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorprotected void appendToString(StringBuilder toStringBuilder)
EntityEntity.toString().
Generally, one should call the super method first and then only add additional information to the builder.
appendToString in class TenantBasedEntity<ResourceType.Blueprint,ResourceType.Update>toStringBuilder - the builder to append stuff to.Copyright © 2015 Red Hat, Inc.. All rights reserved.