Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.xrefs
Class AliasedColumnCrossRef<T extends IColumn<?>>

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.xrefs.CrossRef<T>
          extended by oracle.odi.domain.xrefs.AliasedColumnCrossRef<T>
Type Parameters:
T - The type of the column to which the Cross-Reference is pointing
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class AliasedColumnCrossRef<T extends IColumn<?>>
extends CrossRef<T>

A CrossRef that contains an aliased column in its expression element.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class AliasedColumnCrossRef.ColumnType
          The type of the column referenced by this aliased cross reference.
 
Constructor Summary
AliasedColumnCrossRef(int pPosition, java.lang.String pExpressionElement, T pColumn, java.lang.String pAlias, AliasedColumnCrossRef.ColumnType pColumnType)
          Create a new AliasedColumnCrossRef.
 
Method Summary
 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.
 T getReferencedObject()
          Obtains the referenced object relative to this CrossRef instance.
 
Methods inherited from class oracle.odi.domain.xrefs.CrossRef
getExpressionElement, getPosition, hashCode
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasedColumnCrossRef

public AliasedColumnCrossRef(int pPosition,
                             java.lang.String pExpressionElement,
                             T pColumn,
                             java.lang.String pAlias,
                             AliasedColumnCrossRef.ColumnType pColumnType)
Create a new AliasedColumnCrossRef.

Parameters:
pPosition - starting index of the expression element in the full expression string
pExpressionElement - the expression string element this cross reference match
pColumn - the referenced column
pAlias - the alias of the SourceDataStore
pColumnType - the column type of the referenced column
Method Detail

equals

public boolean equals(java.lang.Object pObject)
Description copied from class: CrossRef
Override Object.equals(Object).

Two CrossRefs are equals, if and only if, they implement the same class, and their expressionElement and position are equals.

Overrides:
equals in class CrossRef<T extends IColumn<?>>
See Also:
Object.equals(java.lang.Object)

getAlias

public java.lang.String getAlias()
Obtains the alias of the SourceDataStore to which this Cross-Reference is pointing (i.e. the DataStore that contains the referenced IColumn).

Returns:
the datastore's alias used in the expression

getColumnType

public AliasedColumnCrossRef.ColumnType getColumnType()
Returns the type of the column referenced by this Cross-Reference.

Returns:
the type of the column referenced by this Cross-Reference

getReferencedObject

public T getReferencedObject()
Description copied from class: CrossRef
Obtains the referenced object relative to this CrossRef instance.

Specified by:
getReferencedObject in class CrossRef<T extends IColumn<?>>
Returns:
the referenced object

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.