Forum Post: RE: Returning a set

  • Thread starter Thread starter Thomas Mercer-Hursh
  • Start date Start date
Status
Not open for further replies.
T

Thomas Mercer-Hursh

Guest
This works: define variable molBufferList as class java.util.ArrayList no-undo. define variable mobIterator as class java.util.Iterator no-undo. define variable mobSymbol as class Symbol no-undo. define variable mobTableBuffer as class TableBuffer no-undo. define variable mobTable as class org.prorefactor.core.schema.Table no-undo. molBufferList = ipobParseUnit:getRootScope():getAllSymbolsDeep( ). mobIterator = molBufferList:iterator(). do while mobIterator:hasNext(): mobSymbol = cast( mobIterator:next(), Symbol ). if NodeTypes:getTypeName(mobSymbol:getProgressType()) "BUFFER" then next. mobTableBuffer = cast( mobSymbol, TableBuffer ). mobTable = mobTableBuffer:getTable(). This works, but I can find no expression to use as an argument to getAllSymbolsDeep() that will return only buffers. mobSymbol:fullName() is getting me the qualified name including the database or not qualified if a temp-table. mobTable:getName() gets me the name, not qualified, of the actual table. More on the Proparse discussion forum on OE Hive http://www.oehive.org/node/2289

Continue reading...
 
Status
Not open for further replies.
Back
Top