org.prorefactor.treeparser
Class Query

java.lang.Object
  extended by org.prorefactor.treeparser.Symbol
      extended by org.prorefactor.treeparser.Query
All Implemented Interfaces:
Xferable, SymbolI

public class Query
extends Symbol

A Symbol defined with DEFINE QUERY.


Field Summary
 
Fields inherited from interface org.prorefactor.treeparser.SymbolI
NAME_ORDER
 
Constructor Summary
Query()
          Only to be used for persistence/serialization.
Query(java.lang.String name, SymbolScope scope)
           
 
Method Summary
 Symbol copyBare(SymbolScope scope)
          Generate a bare-bones copy of this symbol.
 java.lang.String fullName()
          For this subclass of Symbol, fullName() returns the same value as getName().
 int getProgressType()
          Returns TokenTypes.QUERY.
 
Methods inherited from class org.prorefactor.treeparser.Symbol
getAllRefsCount, getAsNode, getDefineNode, getIndirectDefineIdNode, getLikeNode, getName, getNumReads, getNumWrites, getScope, isExported, isImported, noteReference, setAsNode, setDefOrIdNode, setLikeNode, setName, toString, writeXferBytes, writeXferSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Query

public Query()
Only to be used for persistence/serialization.


Query

public Query(java.lang.String name,
             SymbolScope scope)
Method Detail

copyBare

public Symbol copyBare(SymbolScope scope)
Description copied from class: Symbol
Generate a bare-bones copy of this symbol. Requires the scope to attach it to as the argument.

Specified by:
copyBare in class Symbol

fullName

public java.lang.String fullName()
For this subclass of Symbol, fullName() returns the same value as getName().

Specified by:
fullName in interface SymbolI
Specified by:
fullName in class Symbol

getProgressType

public int getProgressType()
Returns TokenTypes.QUERY.

Specified by:
getProgressType in interface SymbolI
Specified by:
getProgressType in class Symbol
See Also:
Symbol.getProgressType()


Copyright © 2008 Joanju Software. All Rights Reserved.