--
PedroRio - 30 Dec 2010
BridgeHandler - Handler for a collection attribute
The bridgeHandler class is a handler for collection attributes. It allows to iterate through the collection, add new elements to the collection, remove elements and re-order the elements inside the collection (
elements in XEO's collection attributes are ordered). Bellow is the list of methods that allow interaction with a collection attribute
Definition
Methods in these category allow to query the Object Model definition for the given collection attribute
Method name |
Description |
Parameters |
Return type |
Notes |
getName |
Retrieves the name of the collection attribute (as declared in the Object Model) |
- |
String |
|
getDefAttribute |
Retrieves the handler for the Object Model definition of the collection attribute |
- |
boDefAttribute |
|
_
Iteration
Iteration methods allow to iterate through elements of the collection as well as interacting with the content of the collection
beforeFirst()
first()
last()
next()
getObject()
isEmpty()
moveTo(int recno)
truncate()
moveRowTo(int row)
addNewObject(
ObjectName) - cria um objeto e adiciona à bridge
getEboContext()
getParent()
Interacting with the elements inside the collection
Behavior
required()- Funciona
valid()-
Não funciona
disabledWhen() - Funciona
hiddenWhen() -
Não funciona
defaultValue() -
Não funciona
formula() -
Não funciona
aaaa