public abstract class MixinHolder<M extends BaseMixin> extends Object
| Constructor and Description |
|---|
MixinHolder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract M |
createMixin()
Provides a generic way to create a new mixin instance.
|
protected M |
getCreatedMixin()
Retrieves a properly initialized mixin that has been created and persisted with the default initial value if none existed.
|
abstract M |
getMixin()
Provides generic access to the mixin.
|
protected abstract void |
setMixin(M mixin)
Provides a generic way to set the mixin on the holding mapping.
|
protected M getCreatedMixin()
public abstract M getMixin()
protected abstract void setMixin(M mixin)
mixin - the mixin to use on this MixinHolderprotected abstract M createMixin()
Copyright © 2006-2014 GateIn. All Rights Reserved.