B - the blueprint class. The blueprint is used to create a new element.U - the update class. The update class is used to update the element.public abstract class AbstractElement<B,U extends AbstractElement.Update> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractElement.Update |
static class |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>> |
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
static String |
ID_PROPERTY |
protected Map<String,Object> |
properties |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
Map<String,Object> |
getProperties() |
int |
hashCode() |
abstract AbstractElement.Updater<U,? extends AbstractElement<?,U>> |
update() |
protected static <T> T |
valueOrDefault(T value,
T defaultValue) |
public static final String ID_PROPERTY
protected final String id
public String getId()
public Map<String,Object> getProperties()
protected static <T> T valueOrDefault(T value,
T defaultValue)
public abstract AbstractElement.Updater<U,? extends AbstractElement<?,U>> update()
Copyright © 2015 Red Hat, Inc.. All rights reserved.