Skip navigation links

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

E17060-02


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

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

All Implemented Interfaces:
IAliasComputer

public class AliasComputerFixed
extends java.lang.Object
implements IAliasComputer

This implementation is based on the alias passed to the constructor, just making sure that the alias doesn't exceed the max length.


Constructor Summary
AliasComputerFixed(java.lang.String pAlias)
          Creates a new alias computer that will always return the same alias equal to pAlias.

 

Method Summary
 java.lang.String computeAliasForDataStore(IDataStore<?,?> pDataStore, DataSet pDataSet)
          Computes the alias name for a source or target data store.

 

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

 

Constructor Detail

AliasComputerFixed

public AliasComputerFixed(java.lang.String pAlias)
Creates a new alias computer that will always return the same alias equal to pAlias. Note that the given alias is truncated to comply with the alias length limitation specified in SourceDataStore.ALIAS_MAX_LENGTH.
Parameters:
pAlias - the alias that will be returned by computeAliasForDataStore(IDataStore, DataSet).

Method Detail

computeAliasForDataStore

public java.lang.String computeAliasForDataStore(IDataStore<?,?> pDataStore,
                                                 DataSet pDataSet)
Description copied from interface: IAliasComputer
Computes the alias name for a source or target data store. Aliases are normally retrieved from the default alias of an OdiDataStore and their length should not exceed the length specified in SourceDataStore.ALIAS_MAX_LENGTH. Additionally, aliases should currently not contain spaces, dots or any separator in general, and should be uppercase in the English Locale.
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

Skip navigation links

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

E17060-02


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