SourceDataStore.ALIAS_MAX_LENGTH
by
truncating the aliases before appending the number.public class AliasComputerDoubleChecker extends java.lang.Object implements IAliasComputer
Constructor and Description |
---|
AliasComputerDoubleChecker()
Deprecated.
Convenience constructor similar to AliasComputerDoubleChecker(true).
|
AliasComputerDoubleChecker(boolean pNormalize)
Deprecated.
Creates an alias computer based on a basic alias computer.
This is a convenience constructor similar to calling AliasComputerDoubleChecker(new BasicAliasComputer(pNormalize)) . |
AliasComputerDoubleChecker(IAliasComputer pInternAliasComputer)
Deprecated.
Creates an
AliasComputerDoubleChecker based on the underlying alias computer. |
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 AliasComputerDoubleChecker(IAliasComputer pInternAliasComputer)
AliasComputerDoubleChecker
based on the underlying alias computer.pInternAliasComputer
- an internal alias computer that will give the base aliaspublic AliasComputerDoubleChecker(boolean pNormalize)
AliasComputerDoubleChecker(new BasicAliasComputer(pNormalize))
.pNormalize
- whether the underlying BasicAliasComputer
should normalize aliasespublic AliasComputerDoubleChecker()
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