boolean |
AttributeModel.containsAttribute(AttributeKey<?> key) |
Returns true if the plugin model contains an attribute specified by given key
|
<T> T |
AttributeModel.getAttribute(AttributeKey<T> key) |
Returns an attribute of the plugin model
|
<T,E extends T> E |
AttributeModel.getAttribute(AttributeKey<T> key,
java.lang.Class<E> clazz) |
Returns an attribute of the plugin model
|
<T,E extends T> E |
AttributeModel.getAttribute(AttributeKey<T> key,
java.lang.Class<E> clazz,
E defaultValue) |
Returns an attribute of the plugin model
|
<T> T |
AttributeModel.getAttribute(AttributeKey<T> key,
T defaultValue) |
Returns an attribute of the model
|
<T> T |
AttributeModel.getAttributeAndSet(AttributeKey<T> key,
T defaultValue) |
Returns an attribute of the model, if it is not available - the default
value is taken and automatically is set to the model!
|
<T> T |
AttributeModel.getRequiredAttribute(AttributeKey<T> key) |
Returns an attribute value as required
|
<T> AttributeModel |
AttributeModel.setAttribute(AttributeKey<T> key,
T value) |
Sets an attribute on the plugin model.
|