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

E17060-01

oracle.odi.domain.xrefs
Class CrossRef<T>

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.xrefs.CrossRef<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AliasedColumnCrossRef, OdiSequenceCrossRef, OdiUserFunctionCrossRef, OdiVariableCrossRef

public abstract class CrossRef<T>
extends oracle.odi.domain.support.BusinessObject

A CrossRef is a cross reference between an ODI object and another one through an Expression. An expression string will belongs to an object that references others objects within that expression string.

Since:
11.1.1.3.0
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object pObject)
          Override Object.equals(Object).
 java.lang.String getExpressionElement()
          Obtains the expression element this cross reference match.
 int getPosition()
          Obtains the position / index of this cross reference from the expression string.
abstract  T getReferencedObject()
          Obtains the referenced object relative to this CrossRef instance.
 int 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
 

Method Detail

equals

public boolean equals(java.lang.Object pObject)
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 java.lang.Object
See Also:
Object.equals(java.lang.Object)

getExpressionElement

public java.lang.String getExpressionElement()
Obtains the expression element this cross reference match.

Returns:
the expression element

getPosition

public int getPosition()
Obtains the position / index of this cross reference from the expression string.

Returns:
the position

getReferencedObject

public abstract T getReferencedObject()
Obtains the referenced object relative to this CrossRef instance.

Returns:
the referenced object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.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.