|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.platform.examples.EServerTemplateAgentDataBean
Fields inherited from interface com.ibm.ui.framework.DataBean |
STATUS_COMPLETE, STATUS_ERROR, STATUS_INCOMPLETE |
Constructor Summary | |
EServerTemplateAgentDataBean()
|
Method Summary | |
com.ibm.ui.framework.Capabilities |
getCapabilities()
Returns a Capabilities object which identifies
the attributes that aren't supported by this DataBean . |
double |
getcycleTime()
This method returns the value for cycleTime |
void |
load()
Initializes this object. |
void |
save()
Saves all changes that have been applied to this object via its accessor methods. |
void |
setcycleTime(double d)
This method is called by the framework to store the value for cycleTime |
void |
verifyChanges()
Validates any changes that have been applied to this object via its accessor methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EServerTemplateAgentDataBean()
Method Detail |
public com.ibm.ui.framework.Capabilities getCapabilities()
Capabilities
object which identifies
the attributes that aren't supported by this DataBean
.
There are many reasons why a DataBean
might not support
a given attribute. For example:
The Capabilities
object may provide a list
of instructions, or EventTask
s, which the
UI framework is to perform. Typically these involve disabling
or removing certain UI components from a panel.
getCapabilities
in interface com.ibm.ui.framework.DataBean
Capabilities
object which reflects this object's capabilities.DataBean
public void verifyChanges() throws com.ibm.ui.framework.IllegalUserDataException
This method is called just prior to save
to give
the receiver an opportunity to verify that its data is consistent
with any changes made to other DataBean
s associated
with a given task. If an inconsistency is discovered the
DataBean
should throw an IllegalUserDataException
.
This will prevent the changes from being committed.
verifyChanges
in interface com.ibm.ui.framework.DataBean
com.ibm.ui.framework.IllegalUserDataException
- Should be thrown when user entered data is invalid.DataBean
public double getcycleTime()
DataBean
public void setcycleTime(double d) throws com.ibm.ui.framework.IllegalUserDataException
d
- The number control's current value.com.ibm.ui.framework.IllegalUserDataException
- Should be thrown when user entered data is invalid.DataBean
public void load()
This method should be called before passing the DataBean
to UserTaskManager
. On return from this method the bean
should be in a state where it is ready to return data on any of
its accessor methods.
load
in interface com.ibm.ui.framework.DataBean
DataBean
public void save()
save
in interface com.ibm.ui.framework.DataBean
DataBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |