org.prorefactor.treeparser
Class Datasource

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

public class Datasource
extends Symbol

A Symbol defined with DEFINE DATA-SOURCE.


Field Summary
 
Fields inherited from interface org.prorefactor.treeparser.SymbolI
NAME_ORDER
 
Constructor Summary
Datasource()
          Only to be used for persistence/serialization.
Datasource(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.DATASOURCE.
 
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

Datasource

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


Datasource

public Datasource(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.DATASOURCE.

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


Copyright © 2008 Joanju Software. All Rights Reserved.