Tags:
create new tag
, view all tags
-- 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

Method name Descirption Parameters Return type Notes
beforeFirst        
first        
last        
next        
getObject        

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

Edit | Attach | Print version | History: r8 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2011-01-03 - PedroRio
 

No permission to view TWiki.WebTopBar

This site is powered by the TWiki collaboration platform Powered by Perl

No permission to view TWiki.WebBottomBar