public class AliasComputerFixed extends java.lang.Object implements IAliasComputer
Constructor and Description |
---|
AliasComputerFixed(java.lang.String pAlias)
Deprecated.
Creates a new alias computer that will always return the same alias equal to
pAlias . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
computeAliasForDataStore(IDataStore pDataStore,
DataSet pDataSet)
Deprecated.
Computes the alias name for a source or target data store.
|
public AliasComputerFixed(java.lang.String pAlias)
pAlias
.
Note that the given alias is truncated to comply with the alias length limitation specified in SourceDataStore.ALIAS_MAX_LENGTH
.pAlias
- the alias that will be returned by computeAliasForDataStore(IDataStore, DataSet)
.public java.lang.String computeAliasForDataStore(IDataStore pDataStore, DataSet pDataSet)
IAliasComputer
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.computeAliasForDataStore
in interface IAliasComputer
pDataStore
- the data store for which the alias is computed forpDataSet
- the data set that contains this data store