org.prorefactor.treeparser
Interface Primative

All Known Implementing Classes:
Field, FieldBuffer, Variable

public interface Primative

Field and Variable implement Primative because they both have a "primative" Progress data type (INTEGER, CHARACTER, etc).


Method Summary
 void assignAttributesLike(Primative likePrim)
          Assign datatype, class, extent from another primative (for the LIKE keyword).
 java.lang.String getClassName()
          The name of the CLASS that this variable was defined for.
 DataType getDataType()
           
 int getExtent()
           
 Primative setClassName(java.lang.String className)
           
 Primative setDataType(DataType dataType)
           
 Primative setExtent(int extent)
           
 

Method Detail

assignAttributesLike

void assignAttributesLike(Primative likePrim)
Assign datatype, class, extent from another primative (for the LIKE keyword).


getClassName

java.lang.String getClassName()
The name of the CLASS that this variable was defined for. This is more interesting than getDataType, which returns CLASS. Returns null if this variable was not defined for a CLASS. TODO For 10.1B support, this should return the fully qualified class name, even if the reference wasn't fully qualfied. If that's not to be the case, then John needs to look at method signatures implementation in Callgraph.


getDataType

DataType getDataType()

getExtent

int getExtent()

setClassName

Primative setClassName(java.lang.String className)

setDataType

Primative setDataType(DataType dataType)

setExtent

Primative setExtent(int extent)


Copyright © 2008 Joanju Software. All Rights Reserved.