Skip navigation links

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

E17060-03


oracle.odi.interfaces.interactive.support.aliascomputers
Class BasicAliasComputer

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.aliascomputers.BasicAliasComputer

All Implemented Interfaces:
IAliasComputer

public class BasicAliasComputer
extends java.lang.Object
implements IAliasComputer

A basic simple alias computer, from the OdiDataStore.getDefaultAlias() method.


Constructor Summary
BasicAliasComputer()
          Convenience constructor that creates an alias computer which normalizes the aliases by default.
BasicAliasComputer(boolean pNormalize)
          Creates an alias computer.

 

Method Summary
 java.lang.String computeAliasForDataStore(IDataStore<?,?> pDataStore, DataSet pDataSet)
          This implementation bases the alias computation on the value of OdiDataStore.getDefaultAlias() or the name of the OdiInterface.TargetDataStore if pDataStore is a OdiInterface.TargetDataStore.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BasicAliasComputer

public BasicAliasComputer(boolean pNormalize)
Creates an alias computer.
Parameters:
pNormalize - if true, the alias is normalized to use only ASCII upper case characters. Otherwise, it is left as is.

BasicAliasComputer

public BasicAliasComputer()
Convenience constructor that creates an alias computer which normalizes the aliases by default. Similar to BasicAliasComputer(true).

Method Detail

computeAliasForDataStore

public java.lang.String computeAliasForDataStore(IDataStore<?,?> pDataStore,
                                                 DataSet pDataSet)
This implementation bases the alias computation on the value of OdiDataStore.getDefaultAlias() or the name of the OdiInterface.TargetDataStore if pDataStore is a OdiInterface.TargetDataStore.
Specified by:
computeAliasForDataStore in interface IAliasComputer
Parameters:
pDataStore - the data store for which the alias is computed for
pDataSet - the data set that contains this data store
Returns:
the String that is the alias name
See Also:
IAliasComputer.computeAliasForDataStore(oracle.odi.domain.relational.IDataStore, oracle.odi.domain.project.interfaces.DataSet)

Skip navigation links

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

E17060-03


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