public class AliasedColumnCrossRef extends CrossRef
| Modifier and Type | Class and Description |
|---|---|
static class |
AliasedColumnCrossRef.ColumnType
The type of the column referenced by this aliased cross reference.
|
| Constructor and Description |
|---|
AliasedColumnCrossRef(int pPosition, java.lang.String pExpressionElement, IColumn pColumn, java.lang.String pAlias, AliasedColumnCrossRef.ColumnType pColumnType, java.lang.String pGlobalId)
Create a new
AliasedColumnCrossRef. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pObject)
Override
Object.equals(Object). |
java.lang.String |
getAlias()
Obtains the alias of the SourceDataStore to which this Cross-Reference is pointing (i.e.
|
AliasedColumnCrossRef.ColumnType |
getColumnType()
Returns the type of the column referenced by this Cross-Reference.
|
IColumn |
getReferencedObject()
Obtains the referenced object relative to this CrossRef instance.
|
getExpressionElement, getGlobalId, getPosition, hashCode
public AliasedColumnCrossRef(int pPosition,
java.lang.String pExpressionElement,
IColumn pColumn,
java.lang.String pAlias,
AliasedColumnCrossRef.ColumnType pColumnType,
java.lang.String pGlobalId)
AliasedColumnCrossRef.pPosition - starting index of the expression element in the full expression stringpExpressionElement - the expression string element this cross reference matchpColumn - the referenced columnpAlias - the alias of the SourceDataStorepColumnType - the column type of the referenced columnpGlobalId - the global id of the cross referencepublic java.lang.String getAlias()
public IColumn getReferencedObject()
CrossRefgetReferencedObject in class CrossRefpublic boolean equals(java.lang.Object pObject)
CrossRefObject.equals(Object).
Two CrossRefs are equals, if and only if, they implement the same class, and their expressionElement and position are equals.
public AliasedColumnCrossRef.ColumnType getColumnType()