this class/method belongs to 11g SDK and is deprecated in 12c release.
An OdiInterface is the main class that implement target datastore feeding, suppling data from several source
datastores.

If an interface is constructed with a reference object, the interface will represented a shortcut to
the reference object. When an interface is used as a shortcut, most properties are accessed through
the base object. The IOdiShortcutable interface implemented by OdiInterface provides
access and control over the shortcut aspects of this object.

This class is not intended to be used directly to create a consistent OdiInterface instance.
A consistent OdiInterface is an OdiInterface instance that would be executed as is without any consistency issues
regarding mappings, execution locations, etc. Creating a consistent OdiInterface has to be done using 3d party tools
or classes that extend IInteractiveInterfaceHelper such as InteractiveInterfaceHelperWithActions.

This class is provided for internal use only, or for ODI consumers that want to read an existing OdiInterface instance.
Any direct changes to that class or any of its enclosing members from package oracle.odi.domain.project.interfaces
are strongly discouraged and without any guarantee. This may lead into unpredictable consistency issues.

Nested Class Summary

this class/method belongs to 11g SDK and is deprecated in 12c release.
A constraint that can be checkable on the flow and potentially overriden in the interface.
Constraints include OdiKeys, OdiConditions and OdiReferences.
This class enables to manipulate the constraints and how they can be overridden in the interface.
Note that as for all objects inside interfaces, you should use IInteractiveInterfaceHelpers to modify constraints.

this class/method belongs to 11g SDK and is deprecated in 12c release.
Represents the staging area of the interface. It references a LKM, which
is used to load data from the staging area to the target data server
when the staging area is different from the target datastore.

this class/method belongs to 11g SDK and is deprecated in 12c release.
Represents the target datastore of the interface, which may be either a temporary datastore or an underlying existing OdiDataStore defined in an OdiModel.
It is located on an OdiLogicalSchema, which is either deduced from the underlying OdiDataStore or either shared with the Staging Area for a temporary datastore.
It contains TargetColumns which are either the mirror of existing OdiColumns from the underlying OdiDataStore, or either temporary target columns. Both are represented by the class TargetColumn.
It has an update key, which is either taken from one of the underlying datastore's OdiReferences, either set using a TemporaryTargetUpdateKey.
It references a CKM, which is used at runtime to check the data that is sent to the target.
It references an IKM, which is used to actually integrate the data from the sources into the target datastore.

Method Detail

getInternalId

Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.

Typically a subclass will delegate to a public
SomePrimitiveWrapper getId() method. The necessity for the
getInternalId() abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.

Returning null from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.

setName

public void setName(java.lang.String pName)

Deprecated.

For internal use only
Sets the name of this interface. Name value cannot be null,
and the maximum name length is 400 characters.
To modify an OdiInterface object or its children, please refer to
the description of the class.

computeSQLWithHeaders

Returns a String representing a more functional representation of pExpression.
This is achieved by replacing all referenced column names by their "heading".
For instance, if the original expression is "CLIENT.ID=2", you're likely to get the result "CLIENT.ID of client =2".

getFirstUser

Provides a common getter to obtain the name of the ODI user that created
this instance.

When an instance of the subclass will be persisted, the current ODI user
name will be saved on this instance in order to know which user created
it. The value is set only if a real persist takes place (i.e. first
persist).

getLastUser

Provides a common getter to obtain the name of the last ODI user that
modified this instance.

When an instance of the subclass is persisted, the last user name is the
same as the first user name.

When an instance of the subclass is merged, the current ODI user name
will be saved on this instance in order to know which user modified it
last. The value is set only if a real merge takes place (i.e. with real
modifications).

getFirstDate

Provides a common getter to obtain the date of creation of this instance.

When an instance of the subclass is persisted, the current date in the
underlying database is saved on this instance in order to know the
creation date of this instance. The value is set only if a real persist
takes place (i.e. first persist).

getLastDate

Provides a common getter to obtain the date of last modification of this
instance.

When an instance of the subclass is merged, the current date in the
underlying database is saved on this instance in order to know the
creation date of this instance. The value is set only if a real merge
takes place (i.e. real modifications).