T
- type of object being updatedpublic class UpdateForm<T>
extends java.lang.Object
Constructor and Description |
---|
UpdateForm(java.lang.String label,
FormUpdate<T> fac) |
Modifier and Type | Method and Description |
---|---|
void |
buildSelectForm(Form f)
build a form to select a DataObject managed by the updater
|
AppContext |
getContext() |
FormUpdate<T> |
getFormUpdate()
Get the underlying FormUpdate object.
|
protected Logger |
getLogger() |
protected T |
getObject()
return the target DataObject
|
java.lang.String |
getTypeName() |
boolean |
haveTarget()
Do we know which object we are editing yet.
|
void |
setObject(Form f)
set the edit object based on the selection form.
|
void |
setObject(T dat)
Set the Object to edit.
|
public UpdateForm(java.lang.String label, FormUpdate<T> fac)
public java.lang.String getTypeName()
public FormUpdate<T> getFormUpdate()
public void buildSelectForm(Form f)
f
- The select formpublic AppContext getContext()
protected final Logger getLogger()
protected T getObject()
public boolean haveTarget()
public void setObject(Form f)
f
- the validated select Formpublic void setObject(T dat)
dat
- Object to edit