|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.interfaces.interactive.support.aliascomputers.AliasComputerDoubleChecker
public class AliasComputerDoubleChecker
This alias computer ensures that it will not return an alias that is currently used in the DataSet in which the SourceDataStore is located.
It is based on a wrapped alias computer which gives the original alias on which this computer will base the alias it will return.
To make sure that aliases are unique, it appends a number to the alias if any collision is found, until the name is unique.
This alias computer ensures that the returned aliases comply with the size limitation defined by SourceDataStore.ALIAS_MAX_LENGTH
by
truncating the aliases before appending the number.
Constructor Summary | |
---|---|
AliasComputerDoubleChecker()
Convenience constructor similar to AliasComputerDoubleChecker(true). |
|
AliasComputerDoubleChecker(boolean pNormalize)
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)
Creates an AliasComputerDoubleChecker based on the underlying alias computer. |
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 |
---|
public AliasComputerDoubleChecker()
public AliasComputerDoubleChecker(boolean pNormalize)
AliasComputerDoubleChecker(new BasicAliasComputer(pNormalize))
.
pNormalize
- whether the underlying BasicAliasComputer
should normalize aliasespublic AliasComputerDoubleChecker(IAliasComputer pInternAliasComputer)
AliasComputerDoubleChecker
based on the underlying alias computer.
pInternAliasComputer
- an internal alias computer that will give the base aliasMethod Detail |
---|
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
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |