|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tonbeller.jpivot.core.ExtensionSupport
public class ExtensionSupport
Default implementation of an Extension
Constructor Summary | |
---|---|
ExtensionSupport()
|
Method Summary | |
---|---|
Model |
decorate(Model decoratedModel)
does not decorate, returns the parameter |
java.lang.String |
getId()
Returns the id. |
Model |
getModel()
Returns the model. |
void |
modelInitialized()
Notification after model initialization is complete |
void |
setId(java.lang.String id)
Sets the id. |
void |
setModel(Model model)
Sets the model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtensionSupport()
Method Detail |
---|
public java.lang.String getId()
getId
in interface Extension
public Model getModel()
public void setId(java.lang.String id)
id
- The id to setpublic void setModel(Model model)
setModel
in interface Extension
model
- The model to setpublic Model decorate(Model decoratedModel)
decorate
in interface Extension
decoratedModel
- the model to decorate. It may be different from the model
passed to setModel() because other extensions may already have decorated
modelToDecorate.public void modelInitialized()
modelInitialized
in interface Extension
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |