|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjve.generated.ObjectReference
jve.generated.DataSourceDataRows
Default implementation of a row data object that is retrieved by a service call on a Data Source.
| Nested Class Summary |
| Nested classes inherited from class jve.generated.IRowsDataObject |
IRowsDataObject.RowChangeEvent, IRowsDataObject.RowChangeListener |
| Field Summary |
| Fields inherited from class jve.generated.ObjectReference |
debug |
| Fields inherited from interface jve.generated.IRowsDataObject |
ALL_ROWS, DESIGNTIME_ROWS |
| Fields inherited from interface jve.generated.IBoundObject |
DELIMITER, PROPERTY_OBJ_CHANGED |
| Constructor Summary | |
DataSourceDataRows()
|
|
| Method Summary | |
void |
actionPerformed(IActionBinder action)
Notify the bound object that an action was performed where the reference object was used to perform an action. |
void |
addRowChangeListener(IRowsDataObject.RowChangeListener l)
Add a new row change listener to the listener list. |
java.lang.Object |
get(int index)
Retrieve the value of the row at the given index. |
IDataSource |
getDataSource()
Get the Data Source associated with this action. |
int |
getLength()
Returns the number of rows in this array |
java.lang.Object |
getObject()
Get the bound object. |
ObjectReference |
getServiceArgument()
Get the argument used as the parameter for the service call. |
java.lang.String |
getServiceSignature()
Get the service signature for this action. |
java.lang.Class |
getType()
Get the class type of the referenced object. |
void |
refresh()
Refresh the referenced object. |
void |
removeRowChangeListener(IRowsDataObject.RowChangeListener l)
Remove an existing row change listener from the listener list. |
void |
set(int index,
java.lang.Object value)
Set the value at the given index |
void |
setDataSource(IDataSource source)
Set the Data Source associated with this action. |
void |
setServiceArgument(ObjectReference arg)
Set the argument for the service call, according to the method signature set with the setService method. |
void |
setServiceSignature(java.lang.String service)
This is the service method signature that is to be use. |
void |
setSourceObject(java.lang.Object rows)
Set the source object that will be used as a reference for the bound object. |
java.lang.String |
toString()
|
| Methods inherited from class jve.generated.ObjectReference |
addPropertyChangeListener, getProperty, getSourceObject, removePropertyChangeListener, setProperty, setSourceObject |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jve.generated.IBoundObject |
addPropertyChangeListener, getProperty, getSourceObject, removePropertyChangeListener, setProperty, setSourceObject |
| Constructor Detail |
public DataSourceDataRows()
| Method Detail |
public java.lang.Object getObject()
IBoundObject
getObject in interface IBoundObjectgetObject in class ObjectReferencepublic void setSourceObject(java.lang.Object rows)
IBoundObject
setSourceObject in interface IBoundObjectsetSourceObject in class ObjectReferencerows - the source objectpublic void setServiceSignature(java.lang.String service)
IDataSourceService
setServiceSignature in interface IDataSourceServiceservice - signaturepublic java.lang.String getServiceSignature()
IDataSourceService
getServiceSignature in interface IDataSourceServicepublic void setServiceArgument(ObjectReference arg)
IDataSourceService
setServiceArgument in interface IDataSourceServicearg - the service argumentpublic ObjectReference getServiceArgument()
IDataSourceService
getServiceArgument in interface IDataSourceServicepublic void refresh()
IBoundObject
refresh in interface IBoundObjectrefresh in class ObjectReferencepublic java.lang.Object get(int index)
IRowsDataObject
get in interface IRowsDataObjectindex - index of the row to retrieve
public void set(int index,
java.lang.Object value)
IRowsDataObject
set in interface IRowsDataObjectindex - the index to setvalue - the new valuepublic void actionPerformed(IActionBinder action)
IBoundObject
actionPerformed in interface IBoundObjectactionPerformed in class ObjectReferenceaction - the action that has occurred.IActionBinderpublic void setDataSource(IDataSource source)
IDataSourceService
setDataSource in interface IDataSourceServicesource - DataSource to use for this servicepublic void addRowChangeListener(IRowsDataObject.RowChangeListener l)
IRowsDataObject
addRowChangeListener in interface IRowsDataObjectl - the new listener.public void removeRowChangeListener(IRowsDataObject.RowChangeListener l)
IRowsDataObject
removeRowChangeListener in interface IRowsDataObjectl - the listener to be removed.public java.lang.String toString()
toString in class ObjectReferencepublic IDataSource getDataSource()
IDataSourceService
getDataSource in interface IDataSourceService
public java.lang.Class getType()
throws java.lang.IllegalStateException
IBoundObject
getType in interface IBoundObjectgetType in class ObjectReferencejava.lang.IllegalStateExceptionpublic int getLength()
IRowsDataObject
getLength in interface IRowsDataObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||