public class FieldInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Aast |
ast
AST associated with the field
|
private java.lang.String |
buffer
Field's buffer name as indicated in source
|
private java.lang.String |
database
Field's database logical name or alias
|
private java.lang.String |
qualified
Fully qualified schema name of the field
|
private int |
recordType
Field's enclosing table's token type
|
Constructor and Description |
---|
FieldInfo(Aast ast,
java.lang.String qualified,
java.lang.String buffer,
java.lang.String database,
int recordType)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Aast |
getAst()
Get the AST which represents the field in the schema.
|
java.lang.String |
getBuffer()
Get the buffer name associated with the field.
|
java.lang.String |
getDatabase()
Get the logical database name or alias, if any, associated with the field.
|
java.lang.String |
getQualified()
Get the fully qualified schema name of the field.
|
int |
getRecordType()
Get the Progress parser token type of a table, temp-table, work-table, or buffer which
contains the field.
|
private final Aast ast
private final java.lang.String qualified
private final java.lang.String buffer
private final java.lang.String database
private final int recordType
FieldInfo(Aast ast, java.lang.String qualified, java.lang.String buffer, java.lang.String database, int recordType)
ast
- AST for the field.qualified
- Fully qualified schema name of the fieldbuffer
- Name of the buffer indicated by the field reference in source code.database
- Name of the database which contains the field, as specified by the field reference
in source code, or looked up if the source reference was unqualified.recordType
- Token type of the table backing the buffer indicated by the field reference in
source code.public Aast getAst()
public java.lang.String getQualified()
public java.lang.String getBuffer()
public java.lang.String getDatabase()
public int getRecordType()
BUFFER
is never returned, only the type of
the record which backs the buffer.